aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authordude <dude@yandex-team.ru>2022-02-10 16:47:26 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:26 +0300
commit1799496e670d66495d93a9a9c9d91d19c82b464b (patch)
tree2ac6a3ed3e77271aedfd2aefbc02ceec54eb2aef /library/cpp
parent1fe4b402b38f476dbe36f650c3049c92ae496d38 (diff)
downloadydb-1799496e670d66495d93a9a9c9d91d19c82b464b.tar.gz
Restoring authorship annotation for <dude@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/cgiparam/cgiparam_ut.cpp36
-rw-r--r--library/cpp/regex/ya.make4
2 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/cgiparam/cgiparam_ut.cpp b/library/cpp/cgiparam/cgiparam_ut.cpp
index a562342084..7672bd7b39 100644
--- a/library/cpp/cgiparam/cgiparam_ut.cpp
+++ b/library/cpp/cgiparam/cgiparam_ut.cpp
@@ -82,12 +82,12 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
}
Y_UNIT_TEST(TestScanAddAll4) {
- TCgiParameters c;
- c.ScanAddAll("ccc=1&aaa=1&ccc=3&bbb&ccc=2");
-
- UNIT_ASSERT_VALUES_EQUAL(c.Print(), "aaa=1&bbb=&ccc=1&ccc=3&ccc=2");
- }
-
+ TCgiParameters c;
+ c.ScanAddAll("ccc=1&aaa=1&ccc=3&bbb&ccc=2");
+
+ UNIT_ASSERT_VALUES_EQUAL(c.Print(), "aaa=1&bbb=&ccc=1&ccc=3&ccc=2");
+ }
+
Y_UNIT_TEST(TestScanAddAllUnescaped1) {
TCgiParameters c;
c.ScanAddAllUnescaped("ccc=1&aaa=1&ccc=3&bbb&ccc=2");
@@ -112,13 +112,13 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
}
Y_UNIT_TEST(TestEraseAll) {
- TCgiParameters c;
- c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3");
- c.EraseAll("par");
-
- UNIT_ASSERT_VALUES_EQUAL(c.Print(), "aaa=1&bbb=");
- }
-
+ TCgiParameters c;
+ c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3");
+ c.EraseAll("par");
+
+ UNIT_ASSERT_VALUES_EQUAL(c.Print(), "aaa=1&bbb=");
+ }
+
Y_UNIT_TEST(TestErase) {
TCgiParameters c;
c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3&par=1");
@@ -131,7 +131,7 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
}
Y_UNIT_TEST(TestReplaceUnescaped1) {
- TCgiParameters c;
+ TCgiParameters c;
c.ScanAddAll("many_keys=1&aaa=1&many_keys=2&bbb&many_keys=3");
c.ReplaceUnescaped("many_keys", "new_value");
@@ -148,9 +148,9 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
Y_UNIT_TEST(TestReplaceUnescaped3) {
TCgiParameters c;
- c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3");
+ c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3");
c.ReplaceUnescaped("no_such_key", "new_value");
-
+
UNIT_ASSERT_VALUES_EQUAL(c.Print(), "aaa=1&bbb=&no_such_key=new_value&par=1&par=2&par=3");
}
@@ -183,8 +183,8 @@ Y_UNIT_TEST_SUITE(TCgiParametersTest) {
c.ScanAddAll("par=1&aaa=1&par=2&bbb&par=3");
UNIT_ASSERT_VALUES_EQUAL(c.NumOfValues("par"), 3u);
- }
-
+ }
+
Y_UNIT_TEST(TestUnscape) {
TCgiParameters c("f=1&t=%84R%84%7C%84%80%84%7E&reqenc=SHIFT_JIS&p=0");
UNIT_ASSERT_VALUES_EQUAL(c.Get("t"), "\x84R\x84\x7C\x84\x80\x84\x7E");
diff --git a/library/cpp/regex/ya.make b/library/cpp/regex/ya.make
index 15b0d1aeda..98e58d6f83 100644
--- a/library/cpp/regex/ya.make
+++ b/library/cpp/regex/ya.make
@@ -9,6 +9,6 @@ RECURSE(
pire/ut
pire2hyperscan
pire2hyperscan/ut
- regexp_classifier
- regexp_classifier/ut
+ regexp_classifier
+ regexp_classifier/ut
)