From 2f30d0c15098b05ec04b5e661875dbb22184f70e Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Tue, 8 Apr 2025 11:19:12 +0200 Subject: [PATCH] test: make sure `mmap_mock` knows its path --- 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 694c6b34..ad9f0c84 100644 --- a/test/test_helpers.cpp +++ b/test/test_helpers.cpp @@ -464,7 +464,7 @@ os_access_mock::map_file(fs::path const& path, size_t size) const { throw std::runtime_error("oops in match"); }, }, - size); + size, path); } throw std::runtime_error(fmt::format("oops in map_file: {}", path.string()));