aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/builder_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/string/builder_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/builder_ut.cpp')
-rw-r--r--util/string/builder_ut.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/builder_ut.cpp b/util/string/builder_ut.cpp
index 49d1882266..22def683ec 100644
--- a/util/string/builder_ut.cpp
+++ b/util/string/builder_ut.cpp
@@ -17,19 +17,19 @@ struct TClassWithStreamOperator {
}
};
-IOutputStream& operator<<(IOutputStream& out, const TClassWithStreamOperator& value) {
+IOutputStream& operator<<(IOutputStream& out, const TClassWithStreamOperator& value) {
return out << value.Id << " " << value.Name;
}
-Y_UNIT_TEST_SUITE(TStringBuilderTest) {
- Y_UNIT_TEST(TestStringBuilder) {
+Y_UNIT_TEST_SUITE(TStringBuilderTest) {
+ Y_UNIT_TEST(TestStringBuilder) {
TestEquals("", TStringBuilder());
TestEquals("a", TStringBuilder() << "a");
TestEquals("a1", TStringBuilder() << "a" << 1);
TestEquals("value: 123 name", TStringBuilder() << "value: " << TClassWithStreamOperator(123, "name"));
}
- Y_UNIT_TEST(TestStringBuilderOut) {
+ Y_UNIT_TEST(TestStringBuilderOut) {
TString s;
TStringOutput out(s);
TStringBuilder sb;
@@ -38,7 +38,7 @@ Y_UNIT_TEST_SUITE(TStringBuilderTest) {
TestEquals("a", s);
}
- Y_UNIT_TEST(TestStringBuilderRValue) {
+ Y_UNIT_TEST(TestStringBuilderRValue) {
struct TRValueAcceptTester {
static bool IsRValue(const TString&) {
return false;