[metrics] Make the parsing of metrics even more strict
File must be `metrics.json`.
This commit is contained in:
@@ -294,7 +294,7 @@ std::vector<std::string> readExpectedImageEntries(const mbgl::filesystem::path&
|
||||
}
|
||||
|
||||
std::vector<std::string> readExpectedMetricEntries(const mbgl::filesystem::path& base) {
|
||||
static const std::regex regex(".*/metrics.*.json");
|
||||
static const std::regex regex(".*/metrics.json");
|
||||
return readExpectedEntries(regex, base);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user