mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 07:44:28 +08:00
refs #63, fix typo
This commit is contained in:
parent
a5cadd2e50
commit
fdcb3ce89b
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user