aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authordivankov <divankov@yandex-team.ru>2022-02-10 16:48:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:05 +0300
commit5b8d95df2f0cfca4d3f5499a4259aa2050ef1571 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp
parentcd88d7933255d8690da34c7b1f7427cf2bb3ae23 (diff)
downloadydb-5b8d95df2f0cfca4d3f5499a4259aa2050ef1571.tar.gz
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/cgiparam/cgiparam_ut.cpp4
-rw-r--r--library/cpp/regex/pcre/regexp.h2
-rw-r--r--library/cpp/string_utils/quote/quote.h2
-rw-r--r--library/cpp/testing/unittest/utmain.cpp8
-rw-r--r--library/cpp/uri/uri_ut.cpp4
5 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/cgiparam/cgiparam_ut.cpp b/library/cpp/cgiparam/cgiparam_ut.cpp
index fc13549c8b..a562342084 100644
--- a/library/cpp/cgiparam/cgiparam_ut.cpp
+++ b/library/cpp/cgiparam/cgiparam_ut.cpp
@@ -51,7 +51,7 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
TCgiParameters c;
c.Scan(parsee);
- c.InsertUnescaped("d", "xxx");
+ c.InsertUnescaped("d", "xxx");
UNIT_ASSERT_VALUES_EQUAL(c.Print(), parsee + "&d=xxx");
}
@@ -197,7 +197,7 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
Y_UNIT_TEST(TestJoinUnescaped) {
TCgiParameters c;
- c.Scan("foo=1&foo=2");
+ c.Scan("foo=1&foo=2");
c.JoinUnescaped("foo", ';', "0");
UNIT_ASSERT_VALUES_EQUAL(c.Print(), "foo=1;2;0");
diff --git a/library/cpp/regex/pcre/regexp.h b/library/cpp/regex/pcre/regexp.h
index 91e6836ad0..bc610bd2f3 100644
--- a/library/cpp/regex/pcre/regexp.h
+++ b/library/cpp/regex/pcre/regexp.h
@@ -18,7 +18,7 @@ class TRegExBaseImpl;
class TRegExBase {
protected:
- TSimpleIntrusivePtr<TRegExBaseImpl> Impl;
+ TSimpleIntrusivePtr<TRegExBaseImpl> Impl;
public:
TRegExBase(const char* regExpr = nullptr, int cflags = REG_EXTENDED);
diff --git a/library/cpp/string_utils/quote/quote.h b/library/cpp/string_utils/quote/quote.h
index 6b2ade5f84..3b7221154e 100644
--- a/library/cpp/string_utils/quote/quote.h
+++ b/library/cpp/string_utils/quote/quote.h
@@ -32,7 +32,7 @@ char* CGIUnescape(char* to, const char* from);
char* CGIUnescape(char* to, const char* from, size_t len);
void CGIUnescape(TString& url);
TString CGIUnescapeRet(const TStringBuf from);
-
+
inline TStringBuf CgiUnescapeBuf(char* to, const TStringBuf from) {
return TStringBuf(to, CGIUnescape(to, from.data(), from.size()));
}
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp
index 7b79bbe102..305bc6b40f 100644
--- a/library/cpp/testing/unittest/utmain.cpp
+++ b/library/cpp/testing/unittest/utmain.cpp
@@ -244,7 +244,7 @@ public:
inline void SetShowFails(bool show) {
ShowFails = show;
}
-
+
void SetContinueOnFail(bool val) {
NUnitTest::ContinueOnFail = val;
}
@@ -421,7 +421,7 @@ private:
if (ShowFails) {
for (size_t i = 0; i < Fails.size(); ++i) {
printf("%s", Fails[i].data());
- }
+ }
}
}
@@ -693,8 +693,8 @@ int NUnitTest::RunMain(int argc, char** argv) {
processor.SetPrintBeforeSuite(true);
} else if (strcmp(name, "--print-before-test") == 0) {
processor.SetPrintBeforeTest(true);
- } else if (strcmp(name, "--show-fails") == 0) {
- processor.SetShowFails(true);
+ } else if (strcmp(name, "--show-fails") == 0) {
+ processor.SetShowFails(true);
} else if (strcmp(name, "--dont-show-fails") == 0) {
processor.SetShowFails(false);
} else if (strcmp(name, "--continue-on-fail") == 0) {
diff --git a/library/cpp/uri/uri_ut.cpp b/library/cpp/uri/uri_ut.cpp
index f6d1267aa7..2ebd83fc93 100644
--- a/library/cpp/uri/uri_ut.cpp
+++ b/library/cpp/uri/uri_ut.cpp
@@ -552,7 +552,7 @@ namespace NUri {
URL_TEST(url, test);
}
}
-
+
Y_UNIT_TEST(test11) {
{
TTest test = {
@@ -568,7 +568,7 @@ namespace NUri {
URL_TEST(url, test);
}
}
-
+
Y_UNIT_TEST(test12) {
// test characters which are not always safe
{