diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/stream/tokenizer_ut.cpp | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/tokenizer_ut.cpp')
-rw-r--r-- | util/stream/tokenizer_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/tokenizer_ut.cpp b/util/stream/tokenizer_ut.cpp index 957b8cc3e0..afc566da86 100644 --- a/util/stream/tokenizer_ut.cpp +++ b/util/stream/tokenizer_ut.cpp @@ -108,7 +108,7 @@ Y_UNIT_TEST_SUITE(TStreamTokenizerTests) { Y_UNIT_TEST(CustomPredicateTest) { struct TIsVerticalBar { - inline bool operator()(const char ch) const noexcept { + inline bool operator()(const char ch) const noexcept { return '|' == ch; } }; @@ -132,7 +132,7 @@ Y_UNIT_TEST_SUITE(TStreamTokenizerTests) { Y_UNIT_TEST(CustomPredicateSecondTest) { struct TIsVerticalBar { - inline bool operator()(const char ch) const noexcept { + inline bool operator()(const char ch) const noexcept { return '|' == ch || ',' == ch; } }; @@ -157,7 +157,7 @@ Y_UNIT_TEST_SUITE(TStreamTokenizerTests) { Y_UNIT_TEST(FalsePredicateTest) { struct TAlwaysFalse { - inline bool operator()(const char) const noexcept { + inline bool operator()(const char) const noexcept { return false; } }; @@ -178,7 +178,7 @@ Y_UNIT_TEST_SUITE(TStreamTokenizerTests) { Y_UNIT_TEST(TruePredicateTest) { struct TAlwaysTrue { - inline bool operator()(const char) const noexcept { + inline bool operator()(const char) const noexcept { return true; } }; |