From 68c44d410c8744f63c2178ff63050c582b9540af Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 18 Nov 2024 11:08:27 +0100 Subject: [PATCH] test: fix unicode path handling in os_access_mock --- test/test_helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helpers.cpp b/test/test_helpers.cpp index 170281bd..e49d7a45 100644 --- a/test/test_helpers.cpp +++ b/test/test_helpers.cpp @@ -417,7 +417,7 @@ os_access_mock::opendir(fs::path const& path) const { std::vector files; for (auto const& e : std::get>(de->v)->ent) { - files.push_back(path / e.name); + files.push_back(path / string_to_u8string(e.name)); } return std::make_unique(std::move(files), dir_reader_delay_);