mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-01 02:14:53 +00:00
Fix expected json output
This commit is contained in:
parent
91c8bc3ef5
commit
1f62590a02
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ mod cli {
|
|||
.assert()
|
||||
.success();
|
||||
|
||||
let expected = r#"{"total":11,"successful":11,"failures":0,"unknown":0,"timeouts":0,"redirects":0,"excludes":0,"errors":0,"cached":0,"fail_map":{}}"#;
|
||||
let expected = r#"{"detailed_stats":false,"total":11,"successful":11,"unknown":0,"unsupported":0,"timeouts":0,"redirects":0,"excludes":0,"errors":0,"cached":0,"success_map":{},"fail_map":{},"excluded_map":{}}"#;
|
||||
let output = fs::read_to_string(&outfile)?;
|
||||
assert_eq!(output.split_whitespace().collect::<String>(), expected);
|
||||
fs::remove_file(outfile)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue