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
commitcd88d7933255d8690da34c7b1f7427cf2bb3ae23 (patch)
tree39e40694c8b41674a17b90f034e31d7cfcf20142 /library/cpp
parent37a2795395ba606e239b750ff2afb17905274ec4 (diff)
downloadydb-cd88d7933255d8690da34c7b1f7427cf2bb3ae23.tar.gz
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 1 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 a562342084..fc13549c8b 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 bc610bd2f3..91e6836ad0 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 3b7221154e..6b2ade5f84 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 305bc6b40f..7b79bbe102 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 2ebd83fc93..f6d1267aa7 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
{