diff options
author | yazevnul <[email protected]> | 2022-02-10 16:46:48 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:48 +0300 |
commit | 9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/stream/printf_ut.cpp | |
parent | 8cbc307de0221f84c80c42dcbe07d40727537e2c (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/stream/printf_ut.cpp')
-rw-r--r-- | util/stream/printf_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/printf_ut.cpp b/util/stream/printf_ut.cpp index fbfee58af4f..0eab1670625 100644 --- a/util/stream/printf_ut.cpp +++ b/util/stream/printf_ut.cpp @@ -1,13 +1,13 @@ -#include "null.h" +#include "null.h" #include "printf.h" -#include "str.h" +#include "str.h" #include <util/generic/string.h> - + #include <library/cpp/testing/unittest/registar.h> -Y_UNIT_TEST_SUITE(TStreamPrintfTest) { - Y_UNIT_TEST(TestPrintf) { +Y_UNIT_TEST_SUITE(TStreamPrintfTest) { + Y_UNIT_TEST(TestPrintf) { TStringStream ss; UNIT_ASSERT_EQUAL(Printf(ss, "qw %s %d", "er", 1), 7); @@ -18,11 +18,11 @@ Y_UNIT_TEST_SUITE(TStreamPrintfTest) { #pragma GCC diagnostic ignored "-Wformat-zero-length" #endif // __GNUC__ - Y_UNIT_TEST(TestZeroString) { + Y_UNIT_TEST(TestZeroString) { UNIT_ASSERT_EQUAL(Printf(Cnull, ""), 0); } - Y_UNIT_TEST(TestLargePrintf) { + Y_UNIT_TEST(TestLargePrintf) { TString s = NUnitTest::RandomString(1000000); TStringStream ss; |