diff options
author | desertfury <desertfury@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
commit | ba92f2f3d8a0cfa549b668980b868cbb6ff080ce (patch) | |
tree | b815831791120a80cee7513e248c079077dd1ea2 /util/network/address_ut.cpp | |
parent | 3d636b3ac8d1e635bba5c5007da7a6d81f2c17f4 (diff) | |
download | ydb-ba92f2f3d8a0cfa549b668980b868cbb6ff080ce.tar.gz |
Restoring authorship annotation for <desertfury@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/address_ut.cpp')
-rw-r--r-- | util/network/address_ut.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/network/address_ut.cpp b/util/network/address_ut.cpp index 28f45172ff..2f37fbee9d 100644 --- a/util/network/address_ut.cpp +++ b/util/network/address_ut.cpp @@ -28,12 +28,12 @@ Y_UNIT_TEST_SUITE(IRemoteAddr_ToString) { TString toString = ToString((const IRemoteAddr&)TAddrInfo(&*it)); UNIT_ASSERT_VALUES_EQUAL(TString("[::1]:22"), toString); } - - Y_UNIT_TEST(Loopback) { - TNetworkAddress localAddress("127.70.0.1", 22); - UNIT_ASSERT_VALUES_EQUAL(NAddr::IsLoopback(TAddrInfo(&*localAddress.Begin())), true); - - TNetworkAddress localAddress2("127.0.0.1", 22); - UNIT_ASSERT_VALUES_EQUAL(NAddr::IsLoopback(TAddrInfo(&*localAddress2.Begin())), true); - } + + Y_UNIT_TEST(Loopback) { + TNetworkAddress localAddress("127.70.0.1", 22); + UNIT_ASSERT_VALUES_EQUAL(NAddr::IsLoopback(TAddrInfo(&*localAddress.Begin())), true); + + TNetworkAddress localAddress2("127.0.0.1", 22); + UNIT_ASSERT_VALUES_EQUAL(NAddr::IsLoopback(TAddrInfo(&*localAddress2.Begin())), true); + } } |