update tests

This commit is contained in:
gabime 2019-10-25 16:20:24 +03:00
parent aac7dccf45
commit 594d226056

View File

@ -35,6 +35,7 @@ TEST_CASE("create_dir", "[create_dir]")
TEST_CASE("create_invalid_dir", "[create_dir]") TEST_CASE("create_invalid_dir", "[create_dir]")
{ {
REQUIRE(create_dir("") == false); REQUIRE(create_dir("") == false);
REQUIRE(create_dir(spdlog::filename_t{}) == false);
#ifdef __linux__ #ifdef __linux__
REQUIRE(create_dir("/proc/spdlog-utest") == false); REQUIRE(create_dir("/proc/spdlog-utest") == false);
#endif #endif