diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /util/generic/string_ut.h | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/string_ut.h')
-rw-r--r-- | util/generic/string_ut.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util/generic/string_ut.h b/util/generic/string_ut.h index 4a8faeb137..44bb10bdeb 100644 --- a/util/generic/string_ut.h +++ b/util/generic/string_ut.h @@ -534,13 +534,13 @@ public: TStringType s2(Data._0()); UNIT_ASSERT(s1 == s2); - TStringType fromZero(0); - UNIT_ASSERT_VALUES_EQUAL(fromZero.size(), 0u); - - TStringType fromChar(char_type('a')); - UNIT_ASSERT_VALUES_EQUAL(fromChar.size(), 1u); - UNIT_ASSERT_VALUES_EQUAL(fromChar[0], char_type('a')); - + TStringType fromZero(0); + UNIT_ASSERT_VALUES_EQUAL(fromZero.size(), 0u); + + TStringType fromChar(char_type('a')); + UNIT_ASSERT_VALUES_EQUAL(fromChar.size(), 1u); + UNIT_ASSERT_VALUES_EQUAL(fromChar[0], char_type('a')); + #ifndef TSTRING_IS_STD_STRING TStringType s3 = TStringType::Uninitialized(10); UNIT_ASSERT(s3.size() == 10); @@ -824,7 +824,7 @@ public: // length() UNIT_ASSERT(s.length() == s.size()); - UNIT_ASSERT(s.length() == traits_type::length(s.data())); + UNIT_ASSERT(s.length() == traits_type::length(s.data())); // is_null() TStringType s1(Data.Empty()); @@ -909,7 +909,7 @@ public: //s2.reserve(); TStringType s5(Data.abcde()); - s5.clear(); + s5.clear(); UNIT_ASSERT(s5 == Data.Empty()); } |