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 | f49cf886c755668578b0214ab9eae8ecdc1395a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/testing/unittest/registar.h | |
parent | b99e8e1b6e3468f81111414c917adc2d334b2c3c (diff) | |
download | ydb-f49cf886c755668578b0214ab9eae8ecdc1395a8.tar.gz |
Restoring authorship annotation for <kaa@yandex-team.ru>. Commit 2 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 e755969d73..44517a0092 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) + } while (false) + +#define UNIT_ASSERT_STRINGS_UNEQUAL(A, B) UNIT_ASSERT_STRINGS_UNEQUAL_C(A, B, "") -#define UNIT_ASSERT_STRINGS_UNEQUAL(A, B) UNIT_ASSERT_STRINGS_UNEQUAL_C(A, B, "") - //bool #define UNIT_ASSERT_C(A, C) \ do { \ |