1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-29 06:20:32 +08:00

Add newline after every benchmark to improve readability of the json output.

This commit is contained in:
Eric Fiselier 2015-03-18 12:09:18 -04:00
parent ec0c725a33
commit 92fc9b99b2

View File

@ -118,7 +118,7 @@ void JSONReporter::ReportRuns(std::vector<Run> const& reports) {
out << indent << '}';
auto it_cp = it;
if (++it_cp != reports_cp.end()) {
out << ',';
out << ",\n";
}
}
}