Skip to content

Commit 1850c99

Browse files
authored
fix: Removed deprecated cargo_bin() function in snapbox (#746)
See the deprecation notice in the [snapbox docs](https://docs.rs/snapbox/latest/snapbox/cmd/fn.cargo_bin.html). fixes #745
1 parent a707d92 commit 1850c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/squawk/tests/example_output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use snapbox::{cmd::Command, file};
33
#[test]
44
fn example_sql_svg() {
55
let expected = file!["../src/snapshots/example.svg": TermSvg];
6-
let bin_path = snapbox::cmd::cargo_bin("squawk");
6+
let bin_path = snapbox::cmd::cargo_bin!("squawk");
77
Command::new(bin_path)
88
.env("CLICOLOR_FORCE", "1")
99
.env("SQUAWK_DISABLE_GITHUB_ANNOTATIONS", "1")

0 commit comments

Comments
 (0)