diff options
| author | Nikita Slyusarev <[email protected]> | 2022-02-10 16:46:52 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:52 +0300 | 
| commit | cd77cecfc03a3eaf87816af28a33067c4f0cdb59 (patch) | |
| tree | 1308e0bae862d52e0020d881fe758080437fe389 /library/cpp/json | |
| parent | cdae02d225fb5b3afbb28990e79a7ac6c9125327 (diff) | |
Restoring authorship annotation for Nikita Slyusarev <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json')
| -rw-r--r-- | library/cpp/json/fast_sax/ya.make | 8 | ||||
| -rw-r--r-- | library/cpp/json/flex_buffers/ya.make | 2 | ||||
| -rw-r--r-- | library/cpp/json/ut/json_reader_ut.cpp | 34 | ||||
| -rw-r--r-- | library/cpp/json/writer/ya.make | 10 | ||||
| -rw-r--r-- | library/cpp/json/ya.make | 8 | ||||
| -rw-r--r-- | library/cpp/json/yson/ut/ya.make | 2 | 
6 files changed, 32 insertions, 32 deletions
| diff --git a/library/cpp/json/fast_sax/ya.make b/library/cpp/json/fast_sax/ya.make index c6447ab6acc..2419d1a9359 100644 --- a/library/cpp/json/fast_sax/ya.make +++ b/library/cpp/json/fast_sax/ya.make @@ -1,9 +1,9 @@  LIBRARY() -OWNER( -    pg -    velavokr -) +OWNER(  +    pg  +    velavokr  +)   PEERDIR(      library/cpp/json/common diff --git a/library/cpp/json/flex_buffers/ya.make b/library/cpp/json/flex_buffers/ya.make index 3ece5e3703d..fa00f73ca97 100644 --- a/library/cpp/json/flex_buffers/ya.make +++ b/library/cpp/json/flex_buffers/ya.make @@ -2,7 +2,7 @@ LIBRARY()  OWNER(pg) -ADDINCL(contrib/libs/flatbuffers/include) +ADDINCL(contrib/libs/flatbuffers/include)   PEERDIR(      library/cpp/json diff --git a/library/cpp/json/ut/json_reader_ut.cpp b/library/cpp/json/ut/json_reader_ut.cpp index cd31afa0b8b..932793d9b53 100644 --- a/library/cpp/json/ut/json_reader_ut.cpp +++ b/library/cpp/json/ut/json_reader_ut.cpp @@ -354,24 +354,24 @@ Y_UNIT_TEST_SUITE(TJsonReaderTest) {              UNIT_ASSERT_EQUAL(value["test"].GetDoubleRobust(), static_cast<double>(Max<ui64>()));          } // Max<ui64>()      }     // TJsonDoubleTest - +       Y_UNIT_TEST(TJsonInvalidTest) { -        { -            // No exceptions mode. -            TStringStream in; -            in << "{ \"test\" : }"; -            TJsonValue value; -            UNIT_ASSERT(!ReadJsonTree(&in, &value)); -        } - -        { -            // Exception throwing mode. -            TStringStream in; -            in << "{ \"test\" : }"; -            TJsonValue value; -            UNIT_ASSERT_EXCEPTION(ReadJsonTree(&in, &value, true), TJsonException); -        } -    } +        {  +            // No exceptions mode.  +            TStringStream in;  +            in << "{ \"test\" : }";  +            TJsonValue value;  +            UNIT_ASSERT(!ReadJsonTree(&in, &value));  +        }  +  +        {  +            // Exception throwing mode.  +            TStringStream in;  +            in << "{ \"test\" : }";  +            TJsonValue value;  +            UNIT_ASSERT_EXCEPTION(ReadJsonTree(&in, &value, true), TJsonException);  +        }  +    }       Y_UNIT_TEST(TJsonMemoryLeakTest) {          // after https://clubs.at.yandex-team.ru/stackoverflow/3691 diff --git a/library/cpp/json/writer/ya.make b/library/cpp/json/writer/ya.make index 3989ff35043..47999a85c19 100644 --- a/library/cpp/json/writer/ya.make +++ b/library/cpp/json/writer/ya.make @@ -1,10 +1,10 @@  LIBRARY() -OWNER( -    mvel -    myltsev -    pg -) +OWNER(  +    mvel  +    myltsev  +    pg  +)   PEERDIR(      library/cpp/json/common diff --git a/library/cpp/json/ya.make b/library/cpp/json/ya.make index d58eead8ec4..7add7496b7d 100644 --- a/library/cpp/json/ya.make +++ b/library/cpp/json/ya.make @@ -1,9 +1,9 @@  LIBRARY() -OWNER( -    pg -    velavokr -) +OWNER(  +    pg  +    velavokr  +)   SRCS(      json_writer.cpp diff --git a/library/cpp/json/yson/ut/ya.make b/library/cpp/json/yson/ut/ya.make index 4ceb65b2796..f372b265585 100644 --- a/library/cpp/json/yson/ut/ya.make +++ b/library/cpp/json/yson/ut/ya.make @@ -7,7 +7,7 @@ UNITTEST_FOR(library/cpp/json/yson)  ALLOCATOR(LF) -DATA(sbr://363537653) +DATA(sbr://363537653)   PEERDIR(      library/cpp/blockcodecs | 
