1
0
Эх сурвалжийг харах

fixed path to the current directory.

yhirose 12 жил өмнө
parent
commit
5c01c69223
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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