mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-18 12:11:14 +00:00
Explicit quirks output for test
This commit is contained in:
parent
9eb3149a69
commit
51628213d6
1 changed files with 10 additions and 10 deletions
|
|
@ -239,16 +239,16 @@ mod cli {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_quirks() -> Result<()> {
|
||||
test_json_output!(
|
||||
"TEST_QUIRKS.txt",
|
||||
MockResponseStats {
|
||||
total: 3,
|
||||
successful: 3,
|
||||
excludes: 0,
|
||||
..MockResponseStats::default()
|
||||
}
|
||||
)
|
||||
fn test_quirks() {
|
||||
let quirks_file = fixtures_path().join("TEST_QUIRKS.txt");
|
||||
main_command()
|
||||
.arg("--verbose")
|
||||
.arg("--no-progress")
|
||||
.arg(quirks_file)
|
||||
.assert()
|
||||
.success()
|
||||
.stdout(contains("3 Total"))
|
||||
.stdout(contains("3 OK"));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue