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
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/string/subst_ut.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 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 04ca5cdf60..21eccef779 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";