aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset/utf8_ut.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/charset/utf8_ut.cpp
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/charset/utf8_ut.cpp')
-rw-r--r--util/charset/utf8_ut.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/charset/utf8_ut.cpp b/util/charset/utf8_ut.cpp
index 9e68881cca..fab9164e49 100644
--- a/util/charset/utf8_ut.cpp
+++ b/util/charset/utf8_ut.cpp
@@ -15,7 +15,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
Y_UNIT_TEST(TestToLowerUtfString) {
UNIT_ASSERT_VALUES_EQUAL(ToLowerUTF8("xyz XYZ ПРИВЕТ!"), "xyz xyz привет!");
- UNIT_ASSERT_VALUES_EQUAL(ToLowerUTF8(TStringBuf("xyz")), "xyz");
+ UNIT_ASSERT_VALUES_EQUAL(ToLowerUTF8(TStringBuf("xyz")), "xyz");
{
TString s = "привет!";
@@ -55,7 +55,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
Y_UNIT_TEST(TestToUpperUtfString) {
UNIT_ASSERT_VALUES_EQUAL(ToUpperUTF8("xyz XYZ привет!"), "XYZ XYZ ПРИВЕТ!");
- UNIT_ASSERT_VALUES_EQUAL(ToUpperUTF8(TStringBuf("XYZ")), "XYZ");
+ UNIT_ASSERT_VALUES_EQUAL(ToUpperUTF8(TStringBuf("XYZ")), "XYZ");
{
TString s = "ПРИВЕТ!";
@@ -93,7 +93,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
}
Y_UNIT_TEST(TestUTF8ToWide) {
- TFileInput in(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/test1.txt"));
+ TFileInput in(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/test1.txt"));
TString text = in.ReadAll();
UNIT_ASSERT(WideToUTF8(UTF8ToWide(text)) == text);
@@ -101,7 +101,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
Y_UNIT_TEST(TestInvalidUTF8) {
TVector<TString> testData;
- TFileInput input(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/invalid_UTF8.bin"));
+ TFileInput input(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/invalid_UTF8.bin"));
Load(&input, testData);
for (const auto& text : testData) {
@@ -110,7 +110,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
}
Y_UNIT_TEST(TestUTF8ToWideScalar) {
- TFileInput in(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/test1.txt"));
+ TFileInput in(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/test1.txt"));
TString text = in.ReadAll();
TUtf16String wtextSSE = UTF8ToWide(text);