Skip to content

Commit

Permalink
Fix problem caused by #1931.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Sep 9, 2024
1 parent 2d01e71 commit 509f583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2920,7 +2920,7 @@ TEST_F(ServerTest, GetEmptyFile) {
auto res = cli_.Get("/empty_file");
ASSERT_TRUE(res);
EXPECT_EQ(StatusCode::OK_200, res->status);
EXPECT_EQ("text/plain", res->get_header_value("Content-Type"));
EXPECT_EQ("application/octet-stream", res->get_header_value("Content-Type"));
EXPECT_EQ(0, std::stoi(res->get_header_value("Content-Length")));
EXPECT_EQ("", res->body);
}
Expand Down

0 comments on commit 509f583

Please sign in to comment.