Fix test after switching to pretty JSON output

This commit is contained in:
Matthias Endler 2021-02-17 12:32:29 +01:00
parent 867a9ac31a
commit 7a4ed41b27

View file

@ -233,7 +233,7 @@ mod cli {
let expected = r##"{"total":11,"successful":11,"failures":0,"timeouts":0,"redirects":0,"excludes":0,"errors":0,"fail_map":{}}"##;
let output = fs::read_to_string(&outfile)?;
assert_eq!(output, expected);
assert_eq!(output.split_whitespace().collect::<String>(), expected);
fs::remove_file(outfile)?;
Ok(())
}