Skip to content

Commit 32ae1e6

Browse files
committed
update usage in static_executable.rs
1 parent 69156d7 commit 32ae1e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/fspy/tests/static_executable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn test_bin_path() -> &'static Path {
3636
}
3737

3838
async fn track_test_bin(args: &[&str], cwd: Option<&str>) -> PathAccessIterable {
39-
let mut cmd = fspy::Spy::global().unwrap().new_command(test_bin_path());
39+
let mut cmd = fspy::Command::new(test_bin_path());
4040
if let Some(cwd) = cwd {
4141
cmd.current_dir(cwd);
4242
};

0 commit comments

Comments
 (0)