Sfoglia il codice sorgente

fixed path to the current directory.

yhirose 12 anni fa
parent
commit
5c01c69223
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -270,7 +270,7 @@ TEST_F(ServerTest, GetMethodDirTest)
 TEST_F(ServerTest, InvalidBaseDir)
 {
 	EXPECT_EQ(false, svr_.set_base_dir("invalid_dir"));
-	EXPECT_EQ(true, svr_.set_base_dir("./"));
+	EXPECT_EQ(true, svr_.set_base_dir("."));
 }
 
 #ifdef _WIN32