refs #63, fix typo

This commit is contained in:
Steffen Schuemann 2020-04-09 12:59:13 +02:00
parent a5cadd2e50
commit fdcb3ce89b

View File

@ -2640,7 +2640,7 @@ TEST_CASE("std::string_view support", "[filesystem][fs.string_view]")
#if defined(IS_WCHAR_PATH) || defined(GHC_USE_WCHAR_T) #if defined(IS_WCHAR_PATH) || defined(GHC_USE_WCHAR_T)
{ {
std::wsting p(L"foo/bar"); std::wstring p(L"foo/bar");
std::wstring_view sv(p); std::wstring_view sv(p);
CHECK(fs::path(sv, fs::path::format::generic_format).generic_string() == "foo/bar"); CHECK(fs::path(sv, fs::path::format::generic_format).generic_string() == "foo/bar");
fs::path p2(L"fo"); fs::path p2(L"fo");