aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated/split/delim_string_iter_ut.cpp
diff options
context:
space:
mode:
authordiver <diver@yandex-team.ru>2022-02-10 16:48:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:07 +0300
commite20e2b362f0232ed5a389db887e6e27e7763af18 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/deprecated/split/delim_string_iter_ut.cpp
parent7629e1f9ef7f9d2a3c345c97e6a4e5a4b32ee786 (diff)
downloadydb-e20e2b362f0232ed5a389db887e6e27e7763af18.tar.gz
Restoring authorship annotation for <diver@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/deprecated/split/delim_string_iter_ut.cpp')
-rw-r--r--library/cpp/deprecated/split/delim_string_iter_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/deprecated/split/delim_string_iter_ut.cpp b/library/cpp/deprecated/split/delim_string_iter_ut.cpp
index fece177f4d..18a8b2a160 100644
--- a/library/cpp/deprecated/split/delim_string_iter_ut.cpp
+++ b/library/cpp/deprecated/split/delim_string_iter_ut.cpp
@@ -10,7 +10,7 @@ static void AssertStringSplit(const TString& str, const TString& delim, const TV
for (const auto& expectedString : expected) {
UNIT_ASSERT(it.Valid());
UNIT_ASSERT(bool(it));
- UNIT_ASSERT_STRINGS_EQUAL(it->ToString(), expectedString);
+ UNIT_ASSERT_STRINGS_EQUAL(it->ToString(), expectedString);
++it;
}
UNIT_ASSERT(!it.Valid());
@@ -30,14 +30,14 @@ Y_UNIT_TEST_SUITE(TDelimStrokaIterTestSuite) {
Y_UNIT_TEST(NoDelimitersPresent) {
AssertStringSplit("This string could be yours", "\t", {"This string could be yours"});
}
-
+
Y_UNIT_TEST(Cdr) {
TDelimStringIter it("a\tc\t", "\t");
- UNIT_ASSERT_STRINGS_EQUAL(*it, "a");
- UNIT_ASSERT_STRINGS_EQUAL(it.Cdr(), "c\t");
- ++it;
- UNIT_ASSERT_STRINGS_EQUAL(it.Cdr(), "");
- }
+ UNIT_ASSERT_STRINGS_EQUAL(*it, "a");
+ UNIT_ASSERT_STRINGS_EQUAL(it.Cdr(), "c\t");
+ ++it;
+ UNIT_ASSERT_STRINGS_EQUAL(it.Cdr(), "");
+ }
Y_UNIT_TEST(ForIter) {
TVector<TStringBuf> expected = {"1", "", "3@4", ""};