aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/tests/ut/scheme_path_ut.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/scheme/tests/ut/scheme_path_ut.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/scheme/tests/ut/scheme_path_ut.cpp')
-rw-r--r--library/cpp/scheme/tests/ut/scheme_path_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/scheme/tests/ut/scheme_path_ut.cpp b/library/cpp/scheme/tests/ut/scheme_path_ut.cpp
index 7b95f02d13..0d4d79d483 100644
--- a/library/cpp/scheme/tests/ut/scheme_path_ut.cpp
+++ b/library/cpp/scheme/tests/ut/scheme_path_ut.cpp
@@ -98,61 +98,61 @@ Y_UNIT_TEST_SUITE(TSchemePathTest) {
{
NSc::TValue val;
*val.TrySelectOrAdd("") = 100;
- const TString res = R"=(100)=";
+ const TString res = R"=(100)=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd("a") = 100;
- const TString res = R"=({"a":100})=";
+ const TString res = R"=({"a":100})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=(////)=") = 100;
- const TString res = R"=(100)=";
+ const TString res = R"=(100)=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=()=") = 100;
- const TString res = R"=(100)=";
+ const TString res = R"=(100)=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=("")=") = 100;
- const TString res = R"=({"":100})=";
+ const TString res = R"=({"":100})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=("[1]")=") = 100;
- const TString res = R"=({"[1]":100})=";
+ const TString res = R"=({"[1]":100})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=("\"\"")=") = 100;
- const TString res = R"=({"\"\"":100})=";
+ const TString res = R"=({"\"\"":100})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=("/10/")=") = 100;
- const TString res = R"=({"/10/":100})=";
+ const TString res = R"=({"/10/":100})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=(/"[10]"//""/"\"/10/\""///)=") = 100;
- const TString res = R"=({"[10]":{"":{"\"/10/\"":100}}})=";
+ const TString res = R"=({"[10]":{"":{"\"/10/\"":100}}})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
{
NSc::TValue val;
*val.TrySelectOrAdd(R"=(/"[10]"//""/"\"/10/\""///)=") = 100;
- const TString res = R"=({"[10]":{"":{"\"/10/\"":100}}})=";
+ const TString res = R"=({"[10]":{"":{"\"/10/\"":100}}})=";
UNIT_ASSERT_VALUES_EQUAL(val.ToJson(), res);
}
}