aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpfsm_ut.cpp
diff options
context:
space:
mode:
authorluckygeck <luckygeck@yandex-team.ru>2022-02-10 16:49:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:18 +0300
commitcb691264f012c552bac85a9fe352baa062cd81dd (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/httpfsm_ut.cpp
parent48ea53d4c114c948fa16fee5ec66de2552c93471 (diff)
downloadydb-cb691264f012c552bac85a9fe352baa062cd81dd.tar.gz
Restoring authorship annotation for <luckygeck@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfsm_ut.cpp')
-rw-r--r--library/cpp/http/fetch/httpfsm_ut.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/http/fetch/httpfsm_ut.cpp b/library/cpp/http/fetch/httpfsm_ut.cpp
index faa3117c4e..b018e80101 100644
--- a/library/cpp/http/fetch/httpfsm_ut.cpp
+++ b/library/cpp/http/fetch/httpfsm_ut.cpp
@@ -1,6 +1,6 @@
#include "httpfsm.h"
-#include "library-htfetch_ut_hreflang_in.h"
-#include "library-htfetch_ut_hreflang_out.h"
+#include "library-htfetch_ut_hreflang_in.h"
+#include "library-htfetch_ut_hreflang_out.h"
#include <util/generic/ptr.h>
#include <library/cpp/charset/doccodes.h>
@@ -59,7 +59,7 @@ public:
void TestXRobotsTagAllowsMultiline();
void TestRelCanonical();
void TestHreflang();
- void TestHreflangOnLongInput();
+ void TestHreflangOnLongInput();
void TestMimeType();
void TestRepeatedContentEncoding();
};
@@ -398,18 +398,18 @@ void THttpHeaderParserTestSuite::TestHreflang() {
TestFinish();
}
-void THttpHeaderParserTestSuite::TestHreflangOnLongInput() {
- TestStart();
- THttpHeader httpHeader;
- httpHeaderParser->Init(&httpHeader);
- TStringBuf testInput(hreflang_ut_in);
- TStringBuf testOut(hreflang_ut_out);
+void THttpHeaderParserTestSuite::TestHreflangOnLongInput() {
+ TestStart();
+ THttpHeader httpHeader;
+ httpHeaderParser->Init(&httpHeader);
+ TStringBuf testInput(hreflang_ut_in);
+ TStringBuf testOut(hreflang_ut_out);
i32 result = httpHeaderParser->Execute(testInput.data(), testInput.size());
- UNIT_ASSERT_VALUES_EQUAL(result, 2);
- UNIT_ASSERT_VALUES_EQUAL(httpHeader.hreflangs, testOut);
- TestFinish();
-}
-
+ UNIT_ASSERT_VALUES_EQUAL(result, 2);
+ UNIT_ASSERT_VALUES_EQUAL(httpHeader.hreflangs, testOut);
+ TestFinish();
+}
+
void THttpHeaderParserTestSuite::TestRelCanonical() {
TestStart();
THttpHeader httpHeader;