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
commitc66195e8be0ac969bb8a5fe435583d2124012826 (patch)
treea0470f7245068fced6579e2b9387efffe2328bc1
parent08975a5c39bf978bb9aabc6507fc6bc97bbc1fb8 (diff)
downloadydb-c66195e8be0ac969bb8a5fe435583d2124012826.tar.gz
Restoring authorship annotation for <mvtomilov@yandex-team.ru>. Commit 1 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 60dffc91c7..964b5220dc 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;