diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-06 10:08:36 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-06 10:28:01 +0300 |
commit | e6552744f49f722981ec4ba533d430744410c1f1 (patch) | |
tree | 739d61f3ece0ea4e7493a8cfd15e1267444e4f7d /util/generic/string_ut.cpp | |
parent | 26ca74bbdccfa2d88aa97bf24cb05b9ee8ee3200 (diff) | |
download | ydb-e6552744f49f722981ec4ba533d430744410c1f1.tar.gz |
aliases for checking macroses
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'util/generic/string_ut.cpp')
-rw-r--r-- | util/generic/string_ut.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/generic/string_ut.cpp b/util/generic/string_ut.cpp index ca7b673fdb5..b49e5ddb6bb 100644 --- a/util/generic/string_ut.cpp +++ b/util/generic/string_ut.cpp @@ -279,7 +279,9 @@ protected: void null_char_of_empty() { const TStringType s; - UNIT_ASSERT(s[s.size()] == 0); + //NOTE: https://a.yandex-team.ru/arcadia/junk/grechnik/test_string?rev=r12602052 + i64 i = s[s.size()]; + UNIT_ASSERT_VALUES_EQUAL(i, 0); } void null_char() { |