aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/ut
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /library/cpp/json/ut
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/ut')
-rw-r--r--library/cpp/json/ut/json_reader_ut.cpp18
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 e9e9953551..cd31afa0b8 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,\"\":\"\"}";