aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbuf_ut.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/generic/strbuf_ut.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/strbuf_ut.cpp')
-rw-r--r--util/generic/strbuf_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/strbuf_ut.cpp b/util/generic/strbuf_ut.cpp
index 6b6109a06f..69cde785af 100644
--- a/util/generic/strbuf_ut.cpp
+++ b/util/generic/strbuf_ut.cpp
@@ -56,10 +56,10 @@ Y_UNIT_TEST_SUITE(TStrBufTest) {
UNIT_ASSERT_VALUES_EQUAL(str.After('x'), TStringBuf("qwerty"));
UNIT_ASSERT_VALUES_EQUAL(str.After('y'), TStringBuf());
UNIT_ASSERT_STRINGS_EQUAL(str.After('='), str);
-
- // Also works properly on empty strings
- TStringBuf empty;
- UNIT_ASSERT_STRINGS_EQUAL(empty.After('x'), empty);
+
+ // Also works properly on empty strings
+ TStringBuf empty;
+ UNIT_ASSERT_STRINGS_EQUAL(empty.After('x'), empty);
}
Y_UNIT_TEST(TestBefore) {
@@ -168,10 +168,10 @@ Y_UNIT_TEST_SUITE(TStrBufTest) {
rt = lt.SplitOff('r');
UNIT_ASSERT_EQUAL(lt, TStringBuf("qwe"));
UNIT_ASSERT_EQUAL(rt, TStringBuf("ty"));
-
- rt = qw;
- lt = rt.NextTok('r');
- TStringBuf ty = rt.NextTok('r'); // no 'r' in "ty"
+
+ rt = qw;
+ lt = rt.NextTok('r');
+ TStringBuf ty = rt.NextTok('r'); // no 'r' in "ty"
UNIT_ASSERT_EQUAL(rt.size(), 0);
UNIT_ASSERT_EQUAL(ty, TStringBuf("ty"));
}