Fixed test_config on macos
This commit is contained in:
@@ -352,6 +352,8 @@ TEST_CASE("Test config relative paths handling", "[unit-test]")
|
|||||||
CHECK(def.get_relative_to()() == "/tmp");
|
CHECK(def.get_relative_to()() == "/tmp");
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
CHECK(def.root_directory().string() == "C:\\tmp");
|
CHECK(def.root_directory().string() == "C:\\tmp");
|
||||||
|
#elif __APPLE__
|
||||||
|
CHECK(def.root_directory().string() == "/private/tmp");
|
||||||
#else
|
#else
|
||||||
CHECK(def.root_directory().string() == "/tmp");
|
CHECK(def.root_directory().string() == "/tmp");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user