mirror of
https://github.com/gulrak/filesystem.git
synced 2026-07-30 16:26:11 +08:00
Add GHC_FILESYSTEM_FWD_TEST check in filesystem tests
This commit is contained in:
parent
442d95aa41
commit
9a98ce0d2b
@ -1234,7 +1234,7 @@ TEST_CASE("fs.class.filesystem_error - class filesystem_error", "[filesystem][fi
|
|||||||
CHECK(!std::string(fse.what()).empty());
|
CHECK(!std::string(fse.what()).empty());
|
||||||
CHECK(fse.path1() == "foo/bar");
|
CHECK(fse.path1() == "foo/bar");
|
||||||
CHECK(fse.path2() == "some/other");
|
CHECK(fse.path2() == "some/other");
|
||||||
#if defined(GHC_OS_WINDOWS) && !defined(USE_STD_FS)
|
#if defined(GHC_OS_WINDOWS) && !defined(USE_STD_FS) && !defined(GHC_FILESYSTEM_FWD_TEST)
|
||||||
CHECK_FALSE(fs::detail::systemErrorText(ERROR_FILE_NOT_FOUND).empty());
|
CHECK_FALSE(fs::detail::systemErrorText(ERROR_FILE_NOT_FOUND).empty());
|
||||||
const DWORD unknownError = 0xffffffffu;
|
const DWORD unknownError = 0xffffffffu;
|
||||||
const auto unknownErrorText = fs::detail::systemErrorText(unknownError);
|
const auto unknownErrorText = fs::detail::systemErrorText(unknownError);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user