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 | 4f03479b0d4ce794fae3628730b99157af573339 (patch) | |
tree | 51b2bbed8d9dc4de8b8c91bae1dc000da10af7a7 /util/string | |
parent | f7e6d639f6922829aa197bf9413624d0d4ca4d66 (diff) | |
download | ydb-4f03479b0d4ce794fae3628730b99157af573339.tar.gz |
Restoring authorship annotation for <arcturus@yandex-team.ru>. Commit 1 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 033450c38c..ff5c61fce3 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); |