Make json test output formatter represent "filtered_out" as num

This commit is contained in:
Charlie Andrews 2018-08-31 14:57:19 -05:00
parent 347c6b76a0
commit b9de64a0e6
No known key found for this signature in database
GPG Key ID: 70FDC90EDC588CA0

View File

@ -136,7 +136,7 @@ fn write_run_finish(&mut self, state: &ConsoleTestState) -> io::Result<bool> {
\"allowed_fail\": {}, \
\"ignored\": {}, \
\"measured\": {}, \
\"filtered_out\": \"{}\" }}",
\"filtered_out\": {} }}",
if state.failed == 0 { "ok" } else { "failed" },
state.passed,
state.failed + state.allowed_fail,