Skip to content

Commit

Permalink
fix main tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Nino <jnino@lyft.com>
  • Loading branch information
Jose Nino committed Oct 21, 2020
1 parent 802ad41 commit 8a7cf08
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ platform_filter_name: AsyncResumeDecodingIsNoopAfterPreviousResume
EXPECT_EQ(Http::FilterDataStatus::Continue, filter_->decodeData(request_data, true));
EXPECT_EQ(invocations.on_request_data_calls, 1);

EXPECT_TRUE(request_headers.get(Http::LowerCaseString("content-length")));
EXPECT_EQ(request_headers.get(Http::LowerCaseString("content-length"))->value().getStringView(),
EXPECT_FALSE(request_headers.get(Http::LowerCaseString("content-length")).empty());
EXPECT_EQ(request_headers.get(Http::LowerCaseString("content-length"))[0]->value().getStringView(),
"12");

Event::PostCb resume_post_cb;
Expand Down Expand Up @@ -1125,8 +1125,8 @@ platform_filter_name: AsyncResumeEncodingIsNoopAfterPreviousResume
EXPECT_EQ(Http::FilterDataStatus::Continue, filter_->encodeData(response_data, true));
EXPECT_EQ(invocations.on_response_data_calls, 1);

EXPECT_TRUE(response_headers.get(Http::LowerCaseString("content-length")));
EXPECT_EQ(response_headers.get(Http::LowerCaseString("content-length"))->value().getStringView(),
EXPECT_FALSE(response_headers.get(Http::LowerCaseString("content-length")).empty());
EXPECT_EQ(response_headers.get(Http::LowerCaseString("content-length"))[0]->value().getStringView(),
"13");

Event::PostCb resume_post_cb;
Expand Down

0 comments on commit 8a7cf08

Please sign in to comment.