aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorasavin <asavin@yandex-team.ru>2022-02-10 16:49:56 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:56 +0300
commit0cbe97538e6c240dfb7424ac5c2173cd6a489734 (patch)
treebeb11b35e2fe1b919a7a1d6c4e4277790533c0b0 /util
parent1cefd0c80e17cf625858624e103f07eb08f7b1b2 (diff)
downloadydb-0cbe97538e6c240dfb7424ac5c2173cd6a489734.tar.gz
Restoring authorship annotation for <asavin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/strbuf_ut.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/generic/strbuf_ut.cpp b/util/generic/strbuf_ut.cpp
index 69cde785af..512acafaa1 100644
--- a/util/generic/strbuf_ut.cpp
+++ b/util/generic/strbuf_ut.cpp
@@ -227,18 +227,18 @@ Y_UNIT_TEST_SUITE(TStrBufTest) {
UNIT_ASSERT_EQUAL(buf1.rfind('3'), 5);
UNIT_ASSERT_EQUAL(buf1.rfind('4'), 6);
UNIT_ASSERT_EQUAL(buf1.rfind('7'), TStringBuf::npos);
-
- TStringBuf buf2;
+
+ TStringBuf buf2;
UNIT_ASSERT_EQUAL(buf2.rfind('3'), TStringBuf::npos);
-
- TStringBuf buf3 = TStringBuf("123123456", 6);
- UNIT_ASSERT_EQUAL(buf3.rfind('3'), 5);
+
+ TStringBuf buf3 = TStringBuf("123123456", 6);
+ UNIT_ASSERT_EQUAL(buf3.rfind('3'), 5);
UNIT_ASSERT_EQUAL(buf3.rfind('4'), TStringBuf::npos);
UNIT_ASSERT_EQUAL(buf3.rfind('7'), TStringBuf::npos);
-
- TStringBuf buf4 = TStringBuf("123123456", 5);
- UNIT_ASSERT_EQUAL(buf4.rfind('3'), 2);
- }
+
+ TStringBuf buf4 = TStringBuf("123123456", 5);
+ UNIT_ASSERT_EQUAL(buf4.rfind('3'), 2);
+ }
Y_UNIT_TEST(TestRNextTok) {
TStringBuf buf1("a.b.c");