summaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpfsm_ut.cpp
diff options
context:
space:
mode:
authordanlark <[email protected]>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/http/fetch/httpfsm_ut.cpp
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfsm_ut.cpp')
-rw-r--r--library/cpp/http/fetch/httpfsm_ut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/http/fetch/httpfsm_ut.cpp b/library/cpp/http/fetch/httpfsm_ut.cpp
index b018e80101b..575f269af55 100644
--- a/library/cpp/http/fetch/httpfsm_ut.cpp
+++ b/library/cpp/http/fetch/httpfsm_ut.cpp
@@ -404,7 +404,7 @@ void THttpHeaderParserTestSuite::TestHreflangOnLongInput() {
httpHeaderParser->Init(&httpHeader);
TStringBuf testInput(hreflang_ut_in);
TStringBuf testOut(hreflang_ut_out);
- i32 result = httpHeaderParser->Execute(testInput.data(), testInput.size());
+ i32 result = httpHeaderParser->Execute(testInput.data(), testInput.size());
UNIT_ASSERT_VALUES_EQUAL(result, 2);
UNIT_ASSERT_VALUES_EQUAL(httpHeader.hreflangs, testOut);
TestFinish();
@@ -496,11 +496,11 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
}
static THttpChunkParser parseByteByByte(const TStringBuf& blob, const TVector<int>& states) {
- UNIT_ASSERT(states.size() <= blob.size());
+ UNIT_ASSERT(states.size() <= blob.size());
THttpChunkParser parser{initParser()};
for (size_t n = 0; n < states.size(); n++) {
const TStringBuf d{blob, n, 1};
- int code = parser.Execute(d.data(), d.size());
+ int code = parser.Execute(d.data(), d.size());
Cout << TString(d).Quote() << " " << code << Endl;
UNIT_ASSERT_EQUAL(code, states[n]);
}