yhirose hace 6 años
padre
commit
4d545cb932
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      test/test.cc
  2. 1 1
      test/www/dir/test.abcde

+ 1 - 1
test/test.cc

@@ -1232,7 +1232,7 @@ TEST_F(ServerTest, UserDefinedMIMETypeMapping) {
   ASSERT_TRUE(res != nullptr);
   EXPECT_EQ(200, res->status);
   EXPECT_EQ("text/abcde", res->get_header_value("Content-Type"));
-  EXPECT_EQ("abcde\n", res->body);
+  EXPECT_EQ("abcde", res->body);
 }
 
 TEST_F(ServerTest, InvalidBaseDirMount) {

+ 1 - 1
test/www/dir/test.abcde

@@ -1 +1 @@
-abcde
+abcde