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 | 89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (patch) | |
tree | c4772201af6215d48734691b8796e4cfc77c2ac8 /util/string/strip_ut.cpp | |
parent | 7510cec1516d17cbc8d7749974e36aa45f547a26 (diff) | |
download | ydb-89afbbe4ca0e02e386dd4df08f7945f190dc1b84.tar.gz |
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 1 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 d1029d1498..5f3ec0a032 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); |