aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/string_ut.h
diff options
context:
space:
mode:
authorOleg Sidorkin <osidorkin@gmail.com>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:36 +0300
commitf8f6804a3e352897afabc93afcb32081e3fca601 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/string_ut.h
parent5ce74d4fee2d42a4b86efc02dfdc704d458760e1 (diff)
downloadydb-f8f6804a3e352897afabc93afcb32081e3fca601.tar.gz
Restoring authorship annotation for Oleg Sidorkin <osidorkin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/string_ut.h')
-rw-r--r--util/generic/string_ut.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/generic/string_ut.h b/util/generic/string_ut.h
index d154ba20ae3..44bb10bdebe 100644
--- a/util/generic/string_ut.h
+++ b/util/generic/string_ut.h
@@ -1060,20 +1060,20 @@ public:
UNIT_ASSERT_VALUES_EQUAL(constStr.back(), (ui8)'o');
UNIT_ASSERT_VALUES_EQUAL(str.back(), (ui8)'r');
}
-
- void TestFront() {
- const char_type chars[] = {'f', 'o', 'o', 0};
-
- TStringType str = chars;
- const TStringType constStr = str;
-
+
+ void TestFront() {
+ const char_type chars[] = {'f', 'o', 'o', 0};
+
+ TStringType str = chars;
+ const TStringType constStr = str;
+
UNIT_ASSERT_VALUES_EQUAL(constStr.front(), (ui8)'f');
UNIT_ASSERT_VALUES_EQUAL(str.front(), (ui8)'f');
-
- str.front() = 'r';
+
+ str.front() = 'r';
UNIT_ASSERT_VALUES_EQUAL(constStr.front(), (ui8)'f');
UNIT_ASSERT_VALUES_EQUAL(str.front(), (ui8)'r');
- }
+ }
void TestIterators() {
const char_type chars[] = {'f', 'o', 0};