diff options
author | mowgli <mowgli@yandex-team.ru> | 2022-02-10 16:49:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:25 +0300 |
commit | 56c39b3cf908e7202b1f7551a1653681e8015607 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string/strip_ut.cpp | |
parent | 89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (diff) | |
download | ydb-56c39b3cf908e7202b1f7551a1653681e8015607.tar.gz |
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/strip_ut.cpp')
-rw-r--r-- | util/string/strip_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/string/strip_ut.cpp b/util/string/strip_ut.cpp index 5f3ec0a0329..d1029d1498a 100644 --- a/util/string/strip_ut.cpp +++ b/util/string/strip_ut.cpp @@ -8,9 +8,9 @@ Y_UNIT_TEST_SUITE(TStripStringTest) { Y_UNIT_TEST(TestStrip) { struct TTest { const char* Str; - const char* StripLeftRes; - const char* StripRightRes; - const char* StripRes; + const char* StripLeftRes; + const char* StripRightRes; + const char* StripRes; }; static const TTest tests[] = { {" 012 ", "012 ", " 012", "012"}, @@ -28,15 +28,15 @@ Y_UNIT_TEST_SUITE(TStripStringTest) { for (const auto& test : tests) { TString inputStr(test.Str); - + TString s; - Strip(inputStr, s); + Strip(inputStr, s); UNIT_ASSERT_EQUAL(s, test.StripRes); - + UNIT_ASSERT_EQUAL(StripString(inputStr), test.StripRes); UNIT_ASSERT_EQUAL(StripStringLeft(inputStr), test.StripLeftRes); UNIT_ASSERT_EQUAL(StripStringRight(inputStr), test.StripRightRes); - + TStringBuf inputStrBuf(test.Str); UNIT_ASSERT_EQUAL(StripString(inputStrBuf), test.StripRes); UNIT_ASSERT_EQUAL(StripStringLeft(inputStrBuf), test.StripLeftRes); |