aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset/wide_ut.cpp
diff options
context:
space:
mode:
authoralexeykruglov <alexeykruglov@yandex-team.ru>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commit06361c53c4ca58f57007ea73fc399fc25664f13c (patch)
treef5df3a0e589db8e1e30dca616e6fa2d10bf3c64a /util/charset/wide_ut.cpp
parent94e51c602b555459333b3c6ae92476c424c930bc (diff)
downloadydb-06361c53c4ca58f57007ea73fc399fc25664f13c.tar.gz
Restoring authorship annotation for <alexeykruglov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/charset/wide_ut.cpp')
-rw-r--r--util/charset/wide_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/charset/wide_ut.cpp b/util/charset/wide_ut.cpp
index d8f3233e73..d20bde8f0d 100644
--- a/util/charset/wide_ut.cpp
+++ b/util/charset/wide_ut.cpp
@@ -809,9 +809,9 @@ public:
void TestEscapeHtmlChars() {
// characters from the first half of the ASCII table
- for (wchar16 c = 1; c < 0x7F; ++c) {
+ for (wchar16 c = 1; c < 0x7F; ++c) {
TUtf16String w(1, c);
- EscapeHtmlChars<false>(w);
+ EscapeHtmlChars<false>(w);
switch (c) {
case '<':
@@ -831,12 +831,12 @@ public:
break;
}
}
-
- for (wchar16 c = 1; c < 0x7F; ++c) {
+
+ for (wchar16 c = 1; c < 0x7F; ++c) {
TUtf16String w(1, c);
- EscapeHtmlChars<true>(w);
-
- switch (c) {
+ EscapeHtmlChars<true>(w);
+
+ switch (c) {
case '<':
UNIT_ASSERT(w == ASCIIToWide("&lt;"));
break;
@@ -856,10 +856,10 @@ public:
default:
UNIT_ASSERT(w == TUtf16String(1, c));
break;
- }
- }
+ }
+ }
}
-
+
void TestToLower() {
const size_t n = 32;
wchar16 upperCase[n];