Browse Source

Fixed test on MSYS2

merge-requests/386/merge
eidheim 5 years ago
parent
commit
59aa74afb3
  1. 2
      tests/filesystem_test.cpp

2
tests/filesystem_test.cpp

@ -20,8 +20,10 @@ int main() {
g_assert(!paths.empty()); g_assert(!paths.empty());
for(auto &path : paths) { for(auto &path : paths) {
g_assert(!path.empty()); g_assert(!path.empty());
#ifndef _WIN32
g_assert(boost::filesystem::exists(path)); g_assert(boost::filesystem::exists(path));
g_assert(boost::filesystem::is_directory(path)); g_assert(boost::filesystem::is_directory(path));
#endif
} }
} }

Loading…
Cancel
Save