aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/subst_ut.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/string/subst_ut.cpp
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/subst_ut.cpp')
-rw-r--r--util/string/subst_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string/subst_ut.cpp b/util/string/subst_ut.cpp
index 21eccef779..04ca5cdf60 100644
--- a/util/string/subst_ut.cpp
+++ b/util/string/subst_ut.cpp
@@ -1,6 +1,6 @@
#include "join.h"
#include "subst.h"
-#include <string>
+#include <string>
#include <library/cpp/testing/unittest/registar.h>
@@ -169,7 +169,7 @@ Y_UNIT_TEST_SUITE(TStringSubst) {
SubstGlobal(s, 'a', 'b', 1);
UNIT_ASSERT_EQUAL(s, TString("abb"));
}
-
+
Y_UNIT_TEST(TestSubstCharGlobalRet) {
const TUtf16String w1 = u"abcdabcd";
const TUtf16String w2 = SubstGlobalCopy(w1, wchar16('b'), wchar16('B'), 3);
@@ -181,10 +181,10 @@ Y_UNIT_TEST_SUITE(TStringSubst) {
}
Y_UNIT_TEST(TestSubstStdString) {
- std::string s = "aaa";
- SubstGlobal(s, "a", "b", 1);
- UNIT_ASSERT_EQUAL(s, "abb");
- }
+ std::string s = "aaa";
+ SubstGlobal(s, "a", "b", 1);
+ UNIT_ASSERT_EQUAL(s, "abb");
+ }
Y_UNIT_TEST(TestSubstStdStringRet) {
const std::string s1 = "aaa";