diff --git a/render-test/parser.cpp b/render-test/parser.cpp index b5f4f9e75..093d4b37f 100644 --- a/render-test/parser.cpp +++ b/render-test/parser.cpp @@ -289,17 +289,17 @@ std::vector readExpectedEntries(const std::regex& regex, const mbgl } // namespace std::vector readExpectedImageEntries(const mbgl::filesystem::path& base) { - static const std::regex regex(".*expected.*.png"); + static const std::regex regex(".*/expected.*.png"); return readExpectedEntries(regex, base); } std::vector readExpectedMetricEntries(const mbgl::filesystem::path& base) { - static const std::regex regex(".*metrics.*.json"); + static const std::regex regex(".*/metrics.*.json"); return readExpectedEntries(regex, base); } std::vector readExpectedJSONEntries(const mbgl::filesystem::path& base) { - static const std::regex regex(".*expected.*.json"); + static const std::regex regex(".*/expected.*.json"); return readExpectedEntries(regex, base); }