diff options
Diffstat (limited to 'render-test/runner.cpp')
-rw-r--r-- | render-test/runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp index 925599dfb8..401b060fd6 100644 --- a/render-test/runner.cpp +++ b/render-test/runner.cpp @@ -292,7 +292,7 @@ bool TestRunner::checkRenderTestResults(mbgl::PremultipliedImage&& actualImage, if (!passed) { std::stringstream ss; ss << "Number of allocations at probe \"" << expected.first << "\" is " << actual->second.allocations - << ", expected is " << expected.second.allocations << "±" << delta << " allocations."; + << ", expected is " << expected.second.allocations << "±" << std::round(delta) << " allocations."; metadata.errorMessage = ss.str(); return false; |