Make json test output formatter represent "test_count" as num
This commit is contained in:
parent
163adf2860
commit
347c6b76a0
@ -50,7 +50,7 @@ fn write_event(
|
||||
impl<T: Write> OutputFormatter for JsonFormatter<T> {
|
||||
fn write_run_start(&mut self, test_count: usize) -> io::Result<()> {
|
||||
self.write_message(&*format!(
|
||||
r#"{{ "type": "suite", "event": "started", "test_count": "{}" }}"#,
|
||||
r#"{{ "type": "suite", "event": "started", "test_count": {} }}"#,
|
||||
test_count
|
||||
))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user