mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
fixed path to the current directory.
This commit is contained in:
parent
8fc7140e06
commit
5c01c69223
@ -270,7 +270,7 @@ TEST_F(ServerTest, GetMethodDirTest)
|
|||||||
TEST_F(ServerTest, InvalidBaseDir)
|
TEST_F(ServerTest, InvalidBaseDir)
|
||||||
{
|
{
|
||||||
EXPECT_EQ(false, svr_.set_base_dir("invalid_dir"));
|
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
|
#ifdef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user