Skip to content

Commit

Permalink
test: fix unicode path handling in os_access_mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Nov 20, 2024
1 parent 9a4b84f commit 3fb7af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ os_access_mock::opendir(fs::path const& path) const {
std::vector<fs::path> files;
for (auto const& e :
std::get<std::unique_ptr<mock_directory>>(de->v)->ent) {
files.push_back(path / e.name);
files.push_back(path / string_to_u8string(e.name));
}
return std::make_unique<dir_reader_mock>(std::move(files),
dir_reader_delay_);
Expand Down

0 comments on commit 3fb7af0

Please sign in to comment.