diff --git a/crates/nu-command/tests/commands/run_external.rs b/crates/nu-command/tests/commands/run_external.rs index e1c2690e49..08853de0e9 100644 --- a/crates/nu-command/tests/commands/run_external.rs +++ b/crates/nu-command/tests/commands/run_external.rs @@ -1,4 +1,4 @@ -use nu_test_support::fs::Stub::{EmptyFile, FileWithContent}; +use nu_test_support::fs::Stub::EmptyFile; use nu_test_support::playground::Playground; use nu_test_support::{nu, pipeline}; @@ -265,6 +265,7 @@ fn single_quote_does_not_expand_path_glob_windows() { #[cfg(windows)] #[test] fn can_run_batch_files() { + use nu_test_support::fs::Stub::FileWithContent; Playground::setup("run a Windows batch file", |dirs, sandbox| { sandbox.with_files(vec![FileWithContent( "foo.cmd", @@ -282,6 +283,7 @@ fn can_run_batch_files() { #[cfg(windows)] #[test] fn can_run_batch_files_without_cmd_extension() { + use nu_test_support::fs::Stub::FileWithContent; Playground::setup( "run a Windows batch file without specifying the extension", |dirs, sandbox| { @@ -302,6 +304,7 @@ fn can_run_batch_files_without_cmd_extension() { #[cfg(windows)] #[test] fn can_run_batch_files_without_bat_extension() { + use nu_test_support::fs::Stub::FileWithContent; Playground::setup( "run a Windows batch file without specifying the extension", |dirs, sandbox| {