Revert "Fixed unit test error on Windows"

This reverts commit 531f6ab84d.
This commit is contained in:
yhirose 2019-08-04 09:50:47 +09:00
parent 531f6ab84d
commit 5a13539e57

View file

@ -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);
}