diff options
Diffstat (limited to 'library/cpp/json/ut/json_reader_ut.cpp')
| -rw-r--r-- | library/cpp/json/ut/json_reader_ut.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/json/ut/json_reader_ut.cpp b/library/cpp/json/ut/json_reader_ut.cpp index e9e99535515..cd31afa0b8b 100644 --- a/library/cpp/json/ut/json_reader_ut.cpp +++ b/library/cpp/json/ut/json_reader_ut.cpp @@ -372,17 +372,17 @@ Y_UNIT_TEST_SUITE(TJsonReaderTest) { UNIT_ASSERT_EXCEPTION(ReadJsonTree(&in, &value, true), TJsonException); } } - + Y_UNIT_TEST(TJsonMemoryLeakTest) { - // after https://clubs.at.yandex-team.ru/stackoverflow/3691 + // after https://clubs.at.yandex-team.ru/stackoverflow/3691 TString s = "."; - NJson::TJsonValue json; - try { - TStringInput in(s); - NJson::ReadJsonTree(&in, &json, true); - } catch (...) { - } - } // TJsonMemoryLeakTest + NJson::TJsonValue json; + try { + TStringInput in(s); + NJson::ReadJsonTree(&in, &json, true); + } catch (...) { + } + } // TJsonMemoryLeakTest Y_UNIT_TEST(TJsonDuplicateKeysWithNullValuesTest) { const TString json = "{\"\":null,\"\":\"\"}"; |
