aboutsummaryrefslogtreecommitdiffstats
path: root/library
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
commitb71cb79039a5ce17476c821883ef2e62eb4179d2 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library
parent1799496e670d66495d93a9a9c9d91d19c82b464b (diff)
downloadydb-b71cb79039a5ce17476c821883ef2e62eb4179d2.tar.gz
Restoring authorship annotation for <dude@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-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 7672bd7b39..a562342084 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 98e58d6f83..15b0d1aeda 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
)