We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69156d7 commit 32ae1e6Copy full SHA for 32ae1e6
1 file changed
crates/fspy/tests/static_executable.rs
@@ -36,7 +36,7 @@ fn test_bin_path() -> &'static Path {
36
}
37
38
async fn track_test_bin(args: &[&str], cwd: Option<&str>) -> PathAccessIterable {
39
- let mut cmd = fspy::Spy::global().unwrap().new_command(test_bin_path());
+ let mut cmd = fspy::Command::new(test_bin_path());
40
if let Some(cwd) = cwd {
41
cmd.current_dir(cwd);
42
};
0 commit comments