diff options
author | luckygeck <luckygeck@yandex-team.ru> | 2022-02-10 16:49:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:18 +0300 |
commit | 48ea53d4c114c948fa16fee5ec66de2552c93471 (patch) | |
tree | d443cad34860b58886dc7725a27c7fe0c9b5fe13 /library/cpp/http/fetch/httpfsm_ut.cpp | |
parent | 30f4921b0fa8722e5531e72cb40a93b526f6973a (diff) | |
download | ydb-48ea53d4c114c948fa16fee5ec66de2552c93471.tar.gz |
Restoring authorship annotation for <luckygeck@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfsm_ut.cpp')
-rw-r--r-- | library/cpp/http/fetch/httpfsm_ut.cpp | 28 |
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 b018e80101..faa3117c4e 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; |