Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcograss committed Oct 4, 2023
1 parent 42e1d65 commit 98f0913
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ mod cli_tests {

cmd.assert()
.success()
.stdout(predicate::str::is_match("1.txt\n2.txt\n").unwrap());
.stdout(predicate::str::contains("1.txt\n"));
cmd.assert()
.success()
.stdout(predicate::str::contains("2.txt\n"));

let mut cmd = Command::cargo_bin("partialzip")?;
cmd.arg("-r").arg("list").arg(&target_arg);
Expand Down

0 comments on commit 98f0913

Please sign in to comment.