We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe07660 commit 5421e27Copy full SHA for 5421e27
test/test.cc
@@ -4260,7 +4260,8 @@ TEST_F(ServerTest, PutLargeFileWithGzip2) {
4260
EXPECT_EQ(LARGE_DATA, res->body);
4261
// The compressed size should be less than a 10th of the original. May vary
4262
// depending on the zlib library.
4263
- EXPECT_LT(res.get_request_header_value_u64("Content-Length"), 10 * 1024 * 1024);
+ EXPECT_LT(res.get_request_header_value_u64("Content-Length"),
4264
+ static_cast<uint64_t>(10 * 1024 * 1024));
4265
EXPECT_EQ("gzip", res.get_request_header_value("Content-Encoding"));
4266
}
4267
0 commit comments