aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpfsm_ut.cpp
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:10 +0300
commitbaa58daefa91fde4b4769facdbd2903763b9c6a8 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/http/fetch/httpfsm_ut.cpp
parent3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff)
downloadydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz
Restoring authorship annotation for <danlark@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.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 575f269af5..b018e80101 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]);
}