aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpfsm_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/http/fetch/httpfsm_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/fetch/httpfsm_ut.cpp b/library/cpp/http/fetch/httpfsm_ut.cpp
index b018e80101..63790456bc 100644
--- a/library/cpp/http/fetch/httpfsm_ut.cpp
+++ b/library/cpp/http/fetch/httpfsm_ut.cpp
@@ -488,7 +488,7 @@ void THttpHeaderParserTestSuite::TestRepeatedContentEncoding() {
UNIT_TEST_SUITE_REGISTRATION(THttpHeaderParserTestSuite);
-Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
+Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
static THttpChunkParser initParser() {
THttpChunkParser parser;
parser.Init();
@@ -513,7 +513,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
return parseByteByByte(blob, states);
}
- Y_UNIT_TEST(TestWithoutEolHead) {
+ Y_UNIT_TEST(TestWithoutEolHead) {
const TStringBuf blob{
"4\r\n"
"____\r\n"};
@@ -527,7 +527,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
parseByteByByte(blob, states);
}
- Y_UNIT_TEST(TestTrivialChunk) {
+ Y_UNIT_TEST(TestTrivialChunk) {
const TStringBuf blob{
"\r\n"
"4\r\n"};
@@ -536,7 +536,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
UNIT_ASSERT_EQUAL(parser.cnt64, 4);
}
- Y_UNIT_TEST(TestNegative) {
+ Y_UNIT_TEST(TestNegative) {
const TStringBuf blob{
"\r\n"
"-1"};
@@ -547,7 +547,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
parseByteByByte(blob, states);
}
- Y_UNIT_TEST(TestLeadingZero) {
+ Y_UNIT_TEST(TestLeadingZero) {
const TStringBuf blob{
"\r\n"
"042\r\n"};
@@ -555,7 +555,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
UNIT_ASSERT_EQUAL(parser.chunk_length, 0x42);
}
- Y_UNIT_TEST(TestIntOverflow) {
+ Y_UNIT_TEST(TestIntOverflow) {
const TStringBuf blob{
"\r\n"
"deadbeef"};
@@ -564,7 +564,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
UNIT_ASSERT_EQUAL(parser.cnt64, 0xdeadbeef);
}
- Y_UNIT_TEST(TestTrivialChunkWithTail) {
+ Y_UNIT_TEST(TestTrivialChunkWithTail) {
const TStringBuf blob{
"\r\n"
"4\r\n"
@@ -577,7 +577,7 @@ Y_UNIT_TEST_SUITE(TestHttpChunkParser) {
parseByteByByte(blob, states);
}
- Y_UNIT_TEST(TestLastChunk) {
+ Y_UNIT_TEST(TestLastChunk) {
// NB: current parser does not permit whitespace before `foo`,
// but I've never seen the feature in real-life traffic
const TStringBuf blob{