aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/ut/json_prettifier_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/json/ut/json_prettifier_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/ut/json_prettifier_ut.cpp')
-rw-r--r--library/cpp/json/ut/json_prettifier_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/json/ut/json_prettifier_ut.cpp b/library/cpp/json/ut/json_prettifier_ut.cpp
index 4ca9d5bd81..ae5f8dd81a 100644
--- a/library/cpp/json/ut/json_prettifier_ut.cpp
+++ b/library/cpp/json/ut/json_prettifier_ut.cpp
@@ -2,8 +2,8 @@
#include <library/cpp/testing/unittest/registar.h>
-Y_UNIT_TEST_SUITE(JsonPrettifier) {
- Y_UNIT_TEST(PrettifyJsonShort) {
+Y_UNIT_TEST_SUITE(JsonPrettifier) {
+ Y_UNIT_TEST(PrettifyJsonShort) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson(""), "");
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("null"), "null");
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("true"), "true");
@@ -34,7 +34,7 @@ Y_UNIT_TEST_SUITE(JsonPrettifier) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("{k:v}", true, 2), "{\n k : v\n}");
}
- Y_UNIT_TEST(PrettifyJsonLong) {
+ Y_UNIT_TEST(PrettifyJsonLong) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("[{k:v},{a:b}]", false, 2, true),
"[\n"
" {\n"
@@ -110,7 +110,7 @@ Y_UNIT_TEST_SUITE(JsonPrettifier) {
"}");
}
- Y_UNIT_TEST(PrettifyJsonInvalid) {
+ Y_UNIT_TEST(PrettifyJsonInvalid) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("}"), "");
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("}}"), "");
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("{}}"), "");
@@ -123,7 +123,7 @@ Y_UNIT_TEST_SUITE(JsonPrettifier) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::PrettifyJson("{,,,}"), "");
}
- Y_UNIT_TEST(CompactifyJsonShort) {
+ Y_UNIT_TEST(CompactifyJsonShort) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::CompactifyJson(""), "");
UNIT_ASSERT_STRINGS_EQUAL(NJson::CompactifyJson("null"), "null");
UNIT_ASSERT_STRINGS_EQUAL(NJson::CompactifyJson("true"), "true");
@@ -142,7 +142,7 @@ Y_UNIT_TEST_SUITE(JsonPrettifier) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::CompactifyJson("{\n 'k' : 'v'\n}", true), "{k:v}");
}
- Y_UNIT_TEST(CompactifyJsonLong) {
+ Y_UNIT_TEST(CompactifyJsonLong) {
UNIT_ASSERT_STRINGS_EQUAL(NJson::CompactifyJson(
"[\n"
" {\n"