Skip to content

Commit eebfbc4

Browse files
Bump assert_cmd from 2.0.17 to 2.1.1
1 parent 6b8d2fa commit eebfbc4

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

Cargo.lock

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tensor = { git = "https://github.com/ntBre/tensor" }
2222

2323
anyhow = "1.0.100"
2424
approx = "0.5.1"
25-
assert_cmd = "2.0.17"
25+
assert_cmd = "2.1.1"
2626
clap = { version = "4.5.49", features = ["derive"] }
2727
criterion = "0.8.1"
2828
env_logger = "0.11.8"

crates/pbqff/tests/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{fs::read_to_string, path::Path};
22

3-
use assert_cmd::Command;
3+
use assert_cmd::cargo::cargo_bin_cmd;
44
use insta::{assert_snapshot, with_settings};
55
use tempfile::tempdir;
66
use test_case::test_case;
@@ -17,7 +17,7 @@ fn run(path: &str, other_files: &[&str]) -> std::io::Result<()> {
1717
let filename = p.file_name().unwrap();
1818
std::fs::copy(file, dir.path().join(filename))?;
1919
}
20-
let mut cmd = Command::cargo_bin("pbqff").unwrap();
20+
let mut cmd = cargo_bin_cmd!("pbqff");
2121
let assert = cmd.arg("pbqff.toml").current_dir(&dir).assert();
2222
let output = assert.get_output();
2323

0 commit comments

Comments
 (0)