test: make sure mmap_mock knows its path

This commit is contained in:
Marcus Holland-Moritz 2025-04-08 11:19:12 +02:00
parent ca5c1bba0b
commit 2f30d0c150

View File

@ -464,7 +464,7 @@ os_access_mock::map_file(fs::path const& path, size_t size) const {
throw std::runtime_error("oops in match"); throw std::runtime_error("oops in match");
}, },
}, },
size); size, path);
} }
throw std::runtime_error(fmt::format("oops in map_file: {}", path.string())); throw std::runtime_error(fmt::format("oops in map_file: {}", path.string()));