From 96ea0dd12e7048b167f88fa1e44cbd5368be0078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Sch=C3=BCmann?= Date: Fri, 24 May 2019 00:29:17 +0200 Subject: [PATCH] Activated an aditional unit test on windows. --- test/filesystem_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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]")