aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/headers_ut.cpp
diff options
context:
space:
mode:
authoryuraaka <yuraaka@yandex-team.ru>2022-02-10 16:47:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:05 +0300
commit5577dc406121f6fb3f45b227c01f4251880193a1 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/io/headers_ut.cpp
parent4230543261d7a38ef4dc14785ae0d45f2da43704 (diff)
downloadydb-5577dc406121f6fb3f45b227c01f4251880193a1.tar.gz
Restoring authorship annotation for <yuraaka@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/headers_ut.cpp')
-rw-r--r--library/cpp/http/io/headers_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/http/io/headers_ut.cpp b/library/cpp/http/io/headers_ut.cpp
index dd963d7fd1..1d23ef8fdc 100644
--- a/library/cpp/http/io/headers_ut.cpp
+++ b/library/cpp/http/io/headers_ut.cpp
@@ -49,7 +49,7 @@ class THttpHeadersTest: public TTestBase {
UNIT_TEST(TestAddOrReplaceOperation1Arg);
UNIT_TEST(TestAddOrReplaceOperation2Args);
UNIT_TEST(TestAddHeaderTemplateness);
- UNIT_TEST(TestFindHeader);
+ UNIT_TEST(TestFindHeader);
UNIT_TEST_SUITE_END();
private:
@@ -62,7 +62,7 @@ public:
void TestAddOrReplaceOperation1Arg();
void TestAddOrReplaceOperation2Args();
void TestAddHeaderTemplateness();
- void TestFindHeader();
+ void TestFindHeader();
private:
static void AddHeaderImpl1Arg(THttpHeaders& headers, TStringBuf name, TStringBuf value) {
@@ -166,11 +166,11 @@ void THttpHeadersTest::TestAddHeaderTemplateness() {
UNIT_ASSERT(h1 == h2);
}
-
-void THttpHeadersTest::TestFindHeader() {
- THttpHeaders sut;
- sut.AddHeader("NaMe", "Value");
-
- UNIT_ASSERT(sut.FindHeader("name"));
- UNIT_ASSERT(sut.FindHeader("name")->Value() == "Value");
-}
+
+void THttpHeadersTest::TestFindHeader() {
+ THttpHeaders sut;
+ sut.AddHeader("NaMe", "Value");
+
+ UNIT_ASSERT(sut.FindHeader("name"));
+ UNIT_ASSERT(sut.FindHeader("name")->Value() == "Value");
+}