Activated an aditional unit test on windows.

This commit is contained in:
Steffen Schümann 2019-05-24 00:29:17 +02:00
parent b970da3128
commit 96ea0dd12e

View File

@ -323,8 +323,7 @@ TEST_CASE("fs::detail::fromUf88", "[filesystem][fs.detail.utf8]")
CHECK(std::u16string(2,0xfffd) == fs::detail::fromUtf8<std::u16string>(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]")