diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 280bf10..a4cddb8 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -323,8 +323,7 @@ TEST_CASE("fs::detail::fromUf88", "[filesystem][fs.detail.utf8]") CHECK(std::u16string(2,0xfffd) == fs::detail::fromUtf8(std::string("\xed\xa0\x80"))); } -#ifndef GHC_OS_WINDOWS -TEST_CASE("fws::detail::toUtf8", "[filesystem][fs.detail.utf8]") +TEST_CASE("fs::detail::toUtf8", "[filesystem][fs.detail.utf8]") { CHECK(std::string("\xc3\xa4/\xe2\x82\xac\xf0\x9d\x84\x9e") == fs::detail::toUtf8(std::u16string(u"\u00E4/\u20AC\U0001D11E"))); CHECK(std::string("\xEF\xBF\xBD") == fs::detail::toUtf8(std::u16string(1, 0xd800))); @@ -333,7 +332,6 @@ TEST_CASE("fws::detail::toUtf8", "[filesystem][fs.detail.utf8]") CHECK(std::string("\xEF\xBF\xBD") == t); } #endif -#endif #ifndef GHC_OS_WINDOWS TEST_CASE("30.10.8.1 path(\"//host\").has_root_name()", "[filesystem][path][fs.path.generic]")