aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormvtomilov <mvtomilov@yandex-team.ru>2022-02-10 16:50:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:27 +0300
commit9138262b9b527644a2423b034122d89ddbfb25d2 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8
parentc66195e8be0ac969bb8a5fe435583d2124012826 (diff)
downloadydb-9138262b9b527644a2423b034122d89ddbfb25d2.tar.gz
Restoring authorship annotation for <mvtomilov@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--library/cpp/json/ut/json_reader_fast_ut.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/json/ut/json_reader_fast_ut.cpp b/library/cpp/json/ut/json_reader_fast_ut.cpp
index 964b5220dc..60dffc91c7 100644
--- a/library/cpp/json/ut/json_reader_fast_ut.cpp
+++ b/library/cpp/json/ut/json_reader_fast_ut.cpp
@@ -173,7 +173,7 @@ namespace NJson {
class TFastJsonTest: public TTestBase {
UNIT_TEST_SUITE(TFastJsonTest)
UNIT_TEST(TestParse)
- UNIT_TEST(TestReadJsonFastTree)
+ UNIT_TEST(TestReadJsonFastTree)
UNIT_TEST(TestNoInlineComment)
UNIT_TEST_SUITE_END();
@@ -232,7 +232,7 @@ public:
va_end(vl);
TTestHandler h;
- const bool res = ReadJsonFast(json, &h);
+ const bool res = ReadJsonFast(json, &h);
UNIT_ASSERT_VALUES_EQUAL_C(res, accept, Sprintf("%s (%s)", ToString(json).data(), h.Events.back().Str.data()));
h.Assert(evs, ToString(json));
}
@@ -279,17 +279,17 @@ public:
DoTestParse<true>("{g:{x:{a:{b:c,e:f},q:{x:y}},y:fff}}", 22, E_DICT_OPEN, E_KEY, "g", E_DICT_OPEN, E_KEY, "x", E_DICT_OPEN, E_KEY, "a", E_DICT_OPEN, E_KEY, "b", E_STR, "c", E_KEY, "e", E_STR, "f", E_DICT_CLOSE, E_KEY, "q", E_DICT_OPEN, E_KEY, "x", E_STR, "y", E_DICT_CLOSE, E_DICT_CLOSE, E_KEY, "y", E_STR, "fff", E_DICT_CLOSE, E_DICT_CLOSE);
}
- void TestReadJsonFastTree() {
+ void TestReadJsonFastTree() {
const TString json = R"(
- {
- "a": {
- "b": {}
- }
- }}
- )";
- NJson::TJsonValue value;
- UNIT_ASSERT(!ReadJsonFastTree(json, &value));
- }
+ {
+ "a": {
+ "b": {}
+ }
+ }}
+ )";
+ NJson::TJsonValue value;
+ UNIT_ASSERT(!ReadJsonFastTree(json, &value));
+ }
void TestNoInlineComment() {
using namespace NJson::NTest;