Skip to content

Commit

Permalink
integration
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Dec 1, 2024
1 parent 7130585 commit 50026c4
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions lychee-bin/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,18 +417,16 @@ mod cli {
let dir = fixtures_path();

cmd.arg("--offline")
.arg("--include-fragments")
// .arg("--root-path")
// .arg("/resolve_paths_from_root_path")
.arg("--root-path")
.arg("/resolve_paths")
.arg("--base")
.arg(&dir.join("resolve_paths_from_root_path"))
.arg(dir.join("resolve_paths_from_root_path").join("nested").join("index.html"))
.arg(&dir)
.arg(dir.join("resolve_paths").join("index.html"))
.env_clear()
.assert()
.failure()
.stdout(contains("7 Total"))
.stdout(contains("5 OK"))
.stdout(contains("2 Errors"));
.success()
.stdout(contains("3 Total"))
.stdout(contains("3 OK"));
}

#[test]
Expand Down

0 comments on commit 50026c4

Please sign in to comment.