aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/string_ut.cpp
diff options
context:
space:
mode:
authorsobols <sobols@yandex-team.ru>2022-02-10 16:47:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:08 +0300
commit09961b69c61f471ddd594e0fd877df62a8021562 (patch)
tree54a7b60a9526a7104557a033eb0a8d70d64b604c /util/generic/string_ut.cpp
parent4ce8835206f981afa4a61915a49a21fb750416ec (diff)
downloadydb-09961b69c61f471ddd594e0fd877df62a8021562.tar.gz
Restoring authorship annotation for <sobols@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/string_ut.cpp')
-rw-r--r--util/generic/string_ut.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/util/generic/string_ut.cpp b/util/generic/string_ut.cpp
index ac82e9091db..61855f9b0ba 100644
--- a/util/generic/string_ut.cpp
+++ b/util/generic/string_ut.cpp
@@ -811,7 +811,7 @@ public:
UNIT_TEST(TestDecodingMethods);
UNIT_TEST(TestIterators);
UNIT_TEST(TestReverseIterators);
- UNIT_TEST(TestStringLiterals);
+ UNIT_TEST(TestStringLiterals);
UNIT_TEST_SUITE_END();
private:
@@ -895,14 +895,14 @@ private:
str = hello;
UNIT_ASSERT(str == hello);
}
-
- void TestStringLiterals() {
- TUtf16String s1 = u"hello";
- UNIT_ASSERT_VALUES_EQUAL(s1, TUtf16String::FromAscii("hello"));
-
- TUtf16String s2 = u"привет";
- UNIT_ASSERT_VALUES_EQUAL(s2, TUtf16String::FromUtf8("привет"));
- }
+
+ void TestStringLiterals() {
+ TUtf16String s1 = u"hello";
+ UNIT_ASSERT_VALUES_EQUAL(s1, TUtf16String::FromAscii("hello"));
+
+ TUtf16String s2 = u"привет";
+ UNIT_ASSERT_VALUES_EQUAL(s2, TUtf16String::FromUtf8("привет"));
+ }
};
UNIT_TEST_SUITE_REGISTRATION(TWideStringTest);
@@ -936,7 +936,7 @@ public:
UNIT_TEST(TestDecodingMethodsMixedStr);
UNIT_TEST(TestIterators);
UNIT_TEST(TestReverseIterators);
- UNIT_TEST(TestStringLiterals);
+ UNIT_TEST(TestStringLiterals);
UNIT_TEST_SUITE_END();
private:
@@ -1093,14 +1093,14 @@ private:
str = hello;
UNIT_ASSERT(str == hello);
}
-
- void TestStringLiterals() {
- TUtf32String s1 = U"hello";
- UNIT_ASSERT_VALUES_EQUAL(s1, TUtf32String::FromAscii("hello"));
-
- TUtf32String s2 = U"привет";
- UNIT_ASSERT_VALUES_EQUAL(s2, TUtf32String::FromUtf8("привет"));
- }
+
+ void TestStringLiterals() {
+ TUtf32String s1 = U"hello";
+ UNIT_ASSERT_VALUES_EQUAL(s1, TUtf32String::FromAscii("hello"));
+
+ TUtf32String s2 = U"привет";
+ UNIT_ASSERT_VALUES_EQUAL(s2, TUtf32String::FromUtf8("привет"));
+ }
};
UNIT_TEST_SUITE_REGISTRATION(TUtf32StringTest);