diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-11-27 23:44:58 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-11-28 12:34:22 +0200 |
commit | 1455f6f5813c393ac21c05a95d4cbefd9f0310ba (patch) | |
tree | 39b8744aa3809c3fe836c1f91884d1bad1670d55 /render-test | |
parent | d13562252da5b58926c59ac77ca4e6d047dfdbe2 (diff) | |
download | qtlocation-mapboxgl-1455f6f5813c393ac21c05a95d4cbefd9f0310ba.tar.gz |
[metrics] Make the parsing of metrics even more strict
File must be `metrics.json`.
Diffstat (limited to 'render-test')
-rw-r--r-- | render-test/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/parser.cpp b/render-test/parser.cpp index 093d4b37f9..1c1f8b2798 100644 --- a/render-test/parser.cpp +++ b/render-test/parser.cpp @@ -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); } |