Skip to content

Commit

Permalink
chore: cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
henry40408 committed Jan 20, 2025
1 parent fc08e67 commit 221e313
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use tempdir::TempDir;
#[test]
fn initial_scan_finished() {
let mut cmd = Command::cargo_bin("comics").unwrap();
cmd.args(["--bind", "127.0.0.1:3000", "--data-dir", "fixtures/data"]);
cmd.args(["--bind", "127.0.0.1:0", "--data-dir", "fixtures/data"]);
cmd.timeout(Duration::from_millis(100));
cmd.assert()
.stdout(predicates::str::contains("initial scan finished"));
Expand All @@ -17,7 +17,7 @@ fn initial_scan_failed() {
let mut cmd = Command::cargo_bin("comics").unwrap();
let non_exist = dir.path().join("non_exist");
let path = non_exist.to_string_lossy();
cmd.args(["--bind", "127.0.0.1:3001", "--data-dir", &path]);
cmd.args(["--bind", "127.0.0.1:0", "--data-dir", &path]);
cmd.timeout(Duration::from_millis(100));
cmd.assert()
.stdout(predicates::str::contains("initial scan failed"));
Expand Down

0 comments on commit 221e313

Please sign in to comment.