diff options
author | Alexey Salmin <[email protected]> | 2022-02-10 16:49:37 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:37 +0300 |
commit | 3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch) | |
tree | 99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/stream/buffered_ut.cpp | |
parent | de89752358147d7b25ef59a85b431bb564068a49 (diff) |
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/buffered_ut.cpp')
-rw-r--r-- | util/stream/buffered_ut.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/util/stream/buffered_ut.cpp b/util/stream/buffered_ut.cpp index 41d2fc30308..075a3884771 100644 --- a/util/stream/buffered_ut.cpp +++ b/util/stream/buffered_ut.cpp @@ -55,24 +55,24 @@ Y_UNIT_TEST_SUITE(TestBufferedIO) { b.Write("1", 1); b.Write("12", 2); - b.Finish(); + b.Finish(); UNIT_ASSERT_VALUES_EQUAL(s, "112"); } Y_UNIT_TEST(Test4) { - TString s; - - auto&& b = TBuffered<TStringOutput>(1, s); - - b.Write('1'); - b.Write('2'); - b.Write('3'); - b.Finish(); - - UNIT_ASSERT_VALUES_EQUAL(s, "123"); - } - + TString s; + + auto&& b = TBuffered<TStringOutput>(1, s); + + b.Write('1'); + b.Write('2'); + b.Write('3'); + b.Finish(); + + UNIT_ASSERT_VALUES_EQUAL(s, "123"); + } + template <class TOut> inline void DoGenAndWrite(TOut&& output, TString& str) { TMersenne<ui64> r; |