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 | 71af077a5dfe7e9f932a508422c2dac81a57ebc0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream/buffered_ut.cpp | |
parent | 3c5b1607b38f637d2f3313791ed25c2e080d2647 (diff) |
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 2 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 075a3884771..41d2fc30308 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; |