aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/netaddr_ut.cpp
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/messagebus/netaddr_ut.cpp
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/netaddr_ut.cpp')
-rw-r--r--library/cpp/messagebus/netaddr_ut.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/messagebus/netaddr_ut.cpp b/library/cpp/messagebus/netaddr_ut.cpp
index e9b7aafc1d..e5c68bf402 100644
--- a/library/cpp/messagebus/netaddr_ut.cpp
+++ b/library/cpp/messagebus/netaddr_ut.cpp
@@ -1,21 +1,21 @@
#include <library/cpp/testing/unittest/registar.h>
-
-#include "netaddr.h"
+
+#include "netaddr.h"
#include "test_utils.h"
-
-using namespace NBus;
-
+
+using namespace NBus;
+
Y_UNIT_TEST_SUITE(TNetAddr) {
Y_UNIT_TEST(ResolveIpv4) {
ASSUME_IP_V4_ENABLED;
- UNIT_ASSERT(TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_4).IsIpv4());
- }
-
+ UNIT_ASSERT(TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_4).IsIpv4());
+ }
+
Y_UNIT_TEST(ResolveIpv6) {
- UNIT_ASSERT(TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_6).IsIpv6());
- }
-
+ UNIT_ASSERT(TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_6).IsIpv6());
+ }
+
Y_UNIT_TEST(ResolveAny) {
- TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_ANY);
- }
-}
+ TNetAddr("ns1.yandex.ru", 80, EIP_VERSION_ANY);
+ }
+}