diff options
author | Sergey Polovko <sergey@polovko.me> | 2022-02-10 16:47:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:02 +0300 |
commit | 3e0b762a82514bac89c1dd6ea7211e381d8aa248 (patch) | |
tree | c2d1b379ecaf05ca8f11ed0b5da9d1a950e6e554 /util/generic | |
parent | ab3783171cc30e262243a0227c86118f7080c896 (diff) | |
download | ydb-3e0b762a82514bac89c1dd6ea7211e381d8aa248.tar.gz |
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 1 of 2.
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/hash_ut.cpp | 6 | ||||
-rw-r--r-- | util/generic/iterator_ut.cpp | 2 | ||||
-rw-r--r-- | util/generic/lazy_value_ut.cpp | 2 | ||||
-rw-r--r-- | util/generic/yexception_ut.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/hash_ut.cpp b/util/generic/hash_ut.cpp index 0551d58770..81b30cf9f1 100644 --- a/util/generic/hash_ut.cpp +++ b/util/generic/hash_ut.cpp @@ -361,9 +361,9 @@ void THashTest::TestHMMapHas() { m.insert(std::pair<const char, int>('X', 10)); m.insert(std::pair<const char, int>('X', 20)); m.insert(std::pair<const char, int>('Y', 32)); - UNIT_ASSERT(m.contains('X')); - UNIT_ASSERT(m.contains('Y')); - UNIT_ASSERT(!m.contains('Z')); + UNIT_ASSERT(m.contains('X')); + UNIT_ASSERT(m.contains('Y')); + UNIT_ASSERT(!m.contains('Z')); } void THashTest::TestHSetConstructorsAndAssignments() { diff --git a/util/generic/iterator_ut.cpp b/util/generic/iterator_ut.cpp index 00be19e10e..8c43f15b36 100644 --- a/util/generic/iterator_ut.cpp +++ b/util/generic/iterator_ut.cpp @@ -58,6 +58,6 @@ Y_UNIT_TEST_SUITE(TInputRangeAdaptor) { UNIT_ASSERT_VALUES_EQUAL(part, *expected_part); ++expected_part; } - UNIT_ASSERT(expected_part == expected.end()); + UNIT_ASSERT(expected_part == expected.end()); } } diff --git a/util/generic/lazy_value_ut.cpp b/util/generic/lazy_value_ut.cpp index f6135880c3..586040a8c2 100644 --- a/util/generic/lazy_value_ut.cpp +++ b/util/generic/lazy_value_ut.cpp @@ -39,7 +39,7 @@ Y_UNIT_TEST_SUITE(TLazyValueTestSuite) { TLazyValue<int> notEmptyCopy = value; UNIT_ASSERT(notEmptyCopy); - UNIT_ASSERT_EQUAL(*notEmptyCopy, 5); + UNIT_ASSERT_EQUAL(*notEmptyCopy, 5); } struct TCopyCounter { diff --git a/util/generic/yexception_ut.cpp b/util/generic/yexception_ut.cpp index cb3e29fed8..4d82779583 100644 --- a/util/generic/yexception_ut.cpp +++ b/util/generic/yexception_ut.cpp @@ -66,7 +66,7 @@ private: throw; } } catch (...) { - UNIT_ASSERT(CurrentExceptionMessage().Contains("ithappens")); + UNIT_ASSERT(CurrentExceptionMessage().Contains("ithappens")); } } |