Skip to content

Commit 1fb6322

Browse files
committed
fix(figterm): Replace deprecated cargo_bin with cargo_bin! macro
Replace the deprecated CommandCargoExt::cargo_bin method with the recommended cargo_bin! macro to resolve compilation warnings. 🤖 Assisted by Amazon Q Developer
1 parent 18516b1 commit 1fb6322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/figterm/tests/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use predicates::prelude::*;
55

66
#[test]
77
fn version_flag_has_status_code_zero() {
8-
let mut cmd = Command::cargo_bin("figterm").unwrap();
8+
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("figterm"));
99
cmd.arg("--version");
1010

1111
cmd.assert()

0 commit comments

Comments
 (0)