aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbuf_ut.cpp
diff options
context:
space:
mode:
authoralex-sh <alex-sh@yandex-team.ru>2022-02-10 16:50:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:03 +0300
commit88ee78b1a163eaddee7e880ac73943456040fce0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/strbuf_ut.cpp
parent3196904c9f5bf7aff7374eeadcb0671589581f61 (diff)
downloadydb-88ee78b1a163eaddee7e880ac73943456040fce0.tar.gz
Restoring authorship annotation for <alex-sh@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/strbuf_ut.cpp')
-rw-r--r--util/generic/strbuf_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/strbuf_ut.cpp b/util/generic/strbuf_ut.cpp
index dd55ec5fba..69cde785af 100644
--- a/util/generic/strbuf_ut.cpp
+++ b/util/generic/strbuf_ut.cpp
@@ -186,23 +186,23 @@ Y_UNIT_TEST_SUITE(TStrBufTest) {
}
Y_UNIT_TEST(TestNextStringTok) {
- TStringBuf buf1("a@@b@@c");
+ TStringBuf buf1("a@@b@@c");
UNIT_ASSERT_EQUAL(buf1.NextTok("@@"), TStringBuf("a"));
UNIT_ASSERT_EQUAL(buf1.NextTok("@@"), TStringBuf("b"));
UNIT_ASSERT_EQUAL(buf1.NextTok("@@"), TStringBuf("c"));
- UNIT_ASSERT_EQUAL(buf1, TStringBuf());
-
- TStringBuf buf2("a@@b@@c");
+ UNIT_ASSERT_EQUAL(buf1, TStringBuf());
+
+ TStringBuf buf2("a@@b@@c");
UNIT_ASSERT_EQUAL(buf2.RNextTok("@@"), TStringBuf("c"));
UNIT_ASSERT_EQUAL(buf2.RNextTok("@@"), TStringBuf("b"));
UNIT_ASSERT_EQUAL(buf2.RNextTok("@@"), TStringBuf("a"));
- UNIT_ASSERT_EQUAL(buf2, TStringBuf());
+ UNIT_ASSERT_EQUAL(buf2, TStringBuf());
TStringBuf buf3("a@@b@@c");
UNIT_ASSERT_EQUAL(buf3.RNextTok("@@@"), TStringBuf("a@@b@@c"));
UNIT_ASSERT_EQUAL(buf3, TStringBuf());
- }
-
+ }
+
Y_UNIT_TEST(TestReadLine) {
TStringBuf buf("12\n45\r\n\r\n23");
TStringBuf tok;