summaryrefslogtreecommitdiffstats
path: root/util/stream/str_ut.cpp
diff options
context:
space:
mode:
authorAlexey Salmin <[email protected]>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:37 +0300
commit3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch)
tree99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/stream/str_ut.cpp
parentde89752358147d7b25ef59a85b431bb564068a49 (diff)
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/str_ut.cpp')
-rw-r--r--util/stream/str_ut.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/util/stream/str_ut.cpp b/util/stream/str_ut.cpp
index fc6b46c31a4..cde603b86b6 100644
--- a/util/stream/str_ut.cpp
+++ b/util/stream/str_ut.cpp
@@ -87,7 +87,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) {
UNIT_ASSERT_VALUES_EQUAL(in0.ReadTo(t, 'z'), 5);
UNIT_ASSERT_VALUES_EQUAL(t, "89abc");
}
-
+
Y_UNIT_TEST(WriteViaNextAndUndo) {
TString str1;
TStringOutput output(str1);
@@ -114,28 +114,28 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) {
}
Y_UNIT_TEST(Write) {
- TString str;
- TStringOutput output(str);
+ TString str;
+ TStringOutput output(str);
output << "1"
<< "22"
<< "333"
<< "4444"
<< "55555";
-
+
UNIT_ASSERT_STRINGS_EQUAL(str, "1"
"22"
"333"
"4444"
"55555");
- }
-
+ }
+
Y_UNIT_TEST(WriteChars) {
- TString str;
- TStringOutput output(str);
- output << '1' << '2' << '3' << '4' << '5' << '6' << '7' << '8' << '9' << '0';
-
- UNIT_ASSERT_STRINGS_EQUAL(str, "1234567890");
- }
+ TString str;
+ TStringOutput output(str);
+ output << '1' << '2' << '3' << '4' << '5' << '6' << '7' << '8' << '9' << '0';
+
+ UNIT_ASSERT_STRINGS_EQUAL(str, "1234567890");
+ }
Y_UNIT_TEST(MoveConstructor) {
TString str;