aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node_ut.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/yson/node/node_ut.cpp
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node/node_ut.cpp')
-rw-r--r--library/cpp/yson/node/node_ut.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/library/cpp/yson/node/node_ut.cpp b/library/cpp/yson/node/node_ut.cpp
index 1e72d96d8e..448e99f575 100644
--- a/library/cpp/yson/node/node_ut.cpp
+++ b/library/cpp/yson/node/node_ut.cpp
@@ -50,28 +50,28 @@ Y_UNIT_TEST_SUITE(YtNodeTest) {
UNIT_ASSERT(nodeEntity.IsEntity());
}
- Y_UNIT_TEST(TestPredicates) {
- const TNode undefinedNode;
- UNIT_ASSERT(undefinedNode.IsUndefined());
- UNIT_ASSERT(!undefinedNode.IsNull());
- UNIT_ASSERT(!undefinedNode.HasValue());
-
- const TNode nullNode = TNode::CreateEntity();
- UNIT_ASSERT(!nullNode.IsUndefined());
- UNIT_ASSERT(nullNode.IsNull());
- UNIT_ASSERT(!nullNode.HasValue());
-
- const TNode intNode(int(64));
- UNIT_ASSERT(!intNode.IsUndefined());
- UNIT_ASSERT(!intNode.IsNull());
- UNIT_ASSERT(intNode.HasValue());
-
- const TNode stringNode("blah");
- UNIT_ASSERT(!stringNode.IsUndefined());
- UNIT_ASSERT(!stringNode.IsNull());
- UNIT_ASSERT(stringNode.HasValue());
- }
-
+ Y_UNIT_TEST(TestPredicates) {
+ const TNode undefinedNode;
+ UNIT_ASSERT(undefinedNode.IsUndefined());
+ UNIT_ASSERT(!undefinedNode.IsNull());
+ UNIT_ASSERT(!undefinedNode.HasValue());
+
+ const TNode nullNode = TNode::CreateEntity();
+ UNIT_ASSERT(!nullNode.IsUndefined());
+ UNIT_ASSERT(nullNode.IsNull());
+ UNIT_ASSERT(!nullNode.HasValue());
+
+ const TNode intNode(int(64));
+ UNIT_ASSERT(!intNode.IsUndefined());
+ UNIT_ASSERT(!intNode.IsNull());
+ UNIT_ASSERT(intNode.HasValue());
+
+ const TNode stringNode("blah");
+ UNIT_ASSERT(!stringNode.IsUndefined());
+ UNIT_ASSERT(!stringNode.IsNull());
+ UNIT_ASSERT(stringNode.HasValue());
+ }
+
Y_UNIT_TEST(TestComplexConstructors) {
const TNode listNode = TNode::CreateList({"one", 2, "tree"});
const auto expectedListValue = std::vector<TNode>({"one", 2, "tree"});