diff options
author | stanly <stanly@yandex-team.ru> | 2022-02-10 16:46:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:49 +0300 |
commit | cde218e65dfef5ce03a48d641fd8f7913cf17b2d (patch) | |
tree | d3349caea4095825a55b5ba24fe758067b29ce6f /util/string/printf_ut.cpp | |
parent | 9f813499b4ef585cb3c2bb93de93ef003daf4fc4 (diff) | |
download | ydb-cde218e65dfef5ce03a48d641fd8f7913cf17b2d.tar.gz |
Restoring authorship annotation for <stanly@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/printf_ut.cpp')
-rw-r--r-- | util/string/printf_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/string/printf_ut.cpp b/util/string/printf_ut.cpp index 2b2f980b70..d11129b6b0 100644 --- a/util/string/printf_ut.cpp +++ b/util/string/printf_ut.cpp @@ -21,10 +21,10 @@ Y_UNIT_TEST_SUITE(TStringPrintf) { } Y_UNIT_TEST(TestSpecial) { - UNIT_ASSERT_EQUAL("4294967295", Sprintf("%" PRIu32, (ui32)(-1))); + UNIT_ASSERT_EQUAL("4294967295", Sprintf("%" PRIu32, (ui32)(-1))); } - + Y_UNIT_TEST(TestExplicitPositions) { - UNIT_ASSERT_EQUAL("abc xyz abc", Sprintf("%1$s %2$s %1$s", "abc", "xyz")); - } + UNIT_ASSERT_EQUAL("abc xyz abc", Sprintf("%1$s %2$s %1$s", "abc", "xyz")); + } } |