diff options
author | kaa <kaa@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
commit | b99e8e1b6e3468f81111414c917adc2d334b2c3c (patch) | |
tree | 15f9f7cb2949ddab5a853046041062fc9c01fafb /library/cpp/testing/unittest/registar.h | |
parent | 27222438aa0c42e5d9f8323344ee0cf8909491c3 (diff) | |
download | ydb-b99e8e1b6e3468f81111414c917adc2d334b2c3c.tar.gz |
Restoring authorship annotation for <kaa@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/registar.h')
-rw-r--r-- | library/cpp/testing/unittest/registar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index 44517a0092..e755969d73 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -458,7 +458,7 @@ public: \ } \ } while (false) -//strings +//strings #define UNIT_ASSERT_STRINGS_UNEQUAL_C(A, B, C) \ do { \ const TString _a(A); \ @@ -467,10 +467,10 @@ public: \ auto&& msg = Sprintf("%s == %s %s", ToString(_a).data(), ToString(_b).data(), (::TStringBuilder() << C).data()); \ UNIT_FAIL_IMPL("strings unequal assertion failed", msg); \ } \ - } while (false) - -#define UNIT_ASSERT_STRINGS_UNEQUAL(A, B) UNIT_ASSERT_STRINGS_UNEQUAL_C(A, B, "") + } while (false) +#define UNIT_ASSERT_STRINGS_UNEQUAL(A, B) UNIT_ASSERT_STRINGS_UNEQUAL_C(A, B, "") + //bool #define UNIT_ASSERT_C(A, C) \ do { \ |