mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Revert "Fixed unit test error on Windows"
This reverts commit 531f6ab84d
.
This commit is contained in:
parent
531f6ab84d
commit
5a13539e57
1 changed files with 9 additions and 1 deletions
10
test/test.cc
10
test/test.cc
|
@ -792,7 +792,15 @@ TEST_F(ServerTest, GetMethodDir) {
|
|||
EXPECT_EQ(200, res->status);
|
||||
EXPECT_EQ("text/html", res->get_header_value("Content-Type"));
|
||||
|
||||
auto body = "<html>\r\n<head>\r\n</head>\r\n<body>\r\n <a href=\"/dir/test.html\">Test</a>\r\n <a href=\"/hi\">hi</a>\r\n</body>\r\n</html>\r\n";
|
||||
auto body = R"(<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<a href="/dir/test.html">Test</a>
|
||||
<a href="/hi">hi</a>
|
||||
</body>
|
||||
</html>
|
||||
)";
|
||||
EXPECT_EQ(body, res->body);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue