浏览代码

fixed path to the current directory.

yhirose 12 年之前
父节点
当前提交
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