1
0
mirror of synced 2025-04-21 22:25:55 +03:00

Code format

This commit is contained in:
yhirose 2020-05-04 21:25:59 -04:00
parent d45250fd88
commit 3895210f19

View File

@ -1749,8 +1749,7 @@ TEST_F(ServerTest, GetStreamedEndless) {
TEST_F(ServerTest, ClientStop) { TEST_F(ServerTest, ClientStop) {
thread t = thread([&]() { thread t = thread([&]() {
auto res = auto res = cli_.Get("/streamed-cancel",
cli_.Get("/streamed-cancel",
[&](const char *, uint64_t) { return true; }); [&](const char *, uint64_t) { return true; });
ASSERT_TRUE(res == nullptr); ASSERT_TRUE(res == nullptr);
}); });
@ -2341,7 +2340,8 @@ TEST(ServerRequestParsingTest, ExcessiveWhitespaceInUnparseableHeaderLine) {
// began. // began.
// The crash occurs with libc++ but not libstdc++. // The crash occurs with libc++ but not libstdc++.
test_raw_request("GET /hi HTTP/1.1\r\n" test_raw_request("GET /hi HTTP/1.1\r\n"
"a:" + std::string(2000, ' ') + '\r' + std::string(20, 'z') + "a:" +
std::string(2000, ' ') + '\r' + std::string(20, 'z') +
"\r\n" "\r\n"
"\r\n"); "\r\n");
} }