diff options
author | arcturus <arcturus@yandex-team.ru> | 2022-02-10 16:49:55 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:55 +0300 |
commit | 0b79544a9f9a331f71e17b24779bf91ccdee76a0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string | |
parent | 4f03479b0d4ce794fae3628730b99157af573339 (diff) | |
download | ydb-0b79544a9f9a331f71e17b24779bf91ccdee76a0.tar.gz |
Restoring authorship annotation for <arcturus@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string')
-rw-r--r-- | util/string/cast_ut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/string/cast_ut.cpp b/util/string/cast_ut.cpp index ff5c61fce3..033450c38c 100644 --- a/util/string/cast_ut.cpp +++ b/util/string/cast_ut.cpp @@ -400,9 +400,9 @@ Y_UNIT_TEST_SUITE(TCastTest) { UNIT_ASSERT_VALUES_EQUAL(TryFromStringWithDefault("100q500", res), false); UNIT_ASSERT_VALUES_EQUAL(res, size_t()); - UNIT_ASSERT_VALUES_EQUAL(TryFromStringWithDefault("100 500", res), false); - UNIT_ASSERT_VALUES_EQUAL(res, size_t()); - + UNIT_ASSERT_VALUES_EQUAL(TryFromStringWithDefault("100 500", res), false); + UNIT_ASSERT_VALUES_EQUAL(res, size_t()); + UNIT_CHECK_GENERATED_NO_EXCEPTION(FromStringWithDefault(s2, def1), yexception); UNIT_CHECK_GENERATED_NO_EXCEPTION(FromStringWithDefault("100q500", def1), yexception); UNIT_ASSERT_VALUES_EQUAL(FromStringWithDefault(s2, def1), def1); |