diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /util/generic/string_ut.cpp | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/string_ut.cpp')
-rw-r--r-- | util/generic/string_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/string_ut.cpp b/util/generic/string_ut.cpp index 7e255c687a1..ac82e9091db 100644 --- a/util/generic/string_ut.cpp +++ b/util/generic/string_ut.cpp @@ -584,16 +584,16 @@ protected: void find_last_of() { // 21.3.6.4 TStringType s(Data_.one_two_three_one_two_three()); - + UNIT_ASSERT(s.find_last_of(Data_.abcde()) == 26); UNIT_ASSERT(s.find_last_of(TStringType(Data_.abcde())) == 26); - + TStringType test(Data_.aba()); - + UNIT_ASSERT(test.find_last_of(Data_.a(), 2, 1) == 2); UNIT_ASSERT(test.find_last_of(Data_.a(), 1, 1) == 0); UNIT_ASSERT(test.find_last_of(Data_.a(), 0, 1) == 0); - + UNIT_ASSERT(test.find_last_of(*Data_.a(), 2) == 2); UNIT_ASSERT(test.find_last_of(*Data_.a(), 1) == 0); UNIT_ASSERT(test.find_last_of(*Data_.a(), 0) == 0); |