summaryrefslogtreecommitdiffstats
path: root/util/charset/utf8_ut.cpp
diff options
context:
space:
mode:
authoragorodilov <[email protected]>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/charset/utf8_ut.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/charset/utf8_ut.cpp')
-rw-r--r--util/charset/utf8_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/charset/utf8_ut.cpp b/util/charset/utf8_ut.cpp
index fc735f8331e..9e68881cca2 100644
--- a/util/charset/utf8_ut.cpp
+++ b/util/charset/utf8_ut.cpp
@@ -1,9 +1,9 @@
#include "utf8.h"
#include "wide.h"
-#include <util/stream/file.h>
+#include <util/stream/file.h>
#include <util/ysaveload.h>
-
+
#include <library/cpp/testing/unittest/registar.h>
#include <library/cpp/testing/unittest/env.h>
@@ -51,7 +51,7 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
}
}
}
-
+
Y_UNIT_TEST(TestToUpperUtfString) {
UNIT_ASSERT_VALUES_EQUAL(ToUpperUTF8("xyz XYZ привет!"), "XYZ XYZ ПРИВЕТ!");
@@ -94,10 +94,10 @@ Y_UNIT_TEST_SUITE(TUtfUtilTest) {
Y_UNIT_TEST(TestUTF8ToWide) {
TFileInput in(ArcadiaSourceRoot() + TStringBuf("/util/charset/ut/utf8/test1.txt"));
-
+
TString text = in.ReadAll();
- UNIT_ASSERT(WideToUTF8(UTF8ToWide(text)) == text);
- }
+ UNIT_ASSERT(WideToUTF8(UTF8ToWide(text)) == text);
+ }
Y_UNIT_TEST(TestInvalidUTF8) {
TVector<TString> testData;