mirror of
https://github.com/nushell/nushell.git
synced 2024-12-24 16:09:11 +01:00
When the nushell is located in a path that has a space in it, these tests break, this fixes it (#1944)
This commit is contained in:
parent
15e66ae065
commit
bef9669b85
@ -24,7 +24,7 @@ fn filesystem_change_from_current_directory_using_absolute_path() {
|
||||
let actual = nu!(
|
||||
cwd: dirs.test(),
|
||||
r#"
|
||||
cd {}
|
||||
cd "{}"
|
||||
pwd | echo $it
|
||||
"#,
|
||||
dirs.formats()
|
||||
|
@ -8,7 +8,7 @@ fn copies_a_file() {
|
||||
Playground::setup("cp_test_1", |dirs, _| {
|
||||
nu!(
|
||||
cwd: dirs.root(),
|
||||
"cp {} cp_test_1/sample.ini",
|
||||
"cp \"{}\" cp_test_1/sample.ini",
|
||||
dirs.formats().join("sample.ini")
|
||||
);
|
||||
|
||||
|
@ -37,7 +37,7 @@ fn writes_out_csv() {
|
||||
|
||||
nu!(
|
||||
cwd: dirs.root(),
|
||||
"open {}/cargo_sample.toml | get package | save save_test_2/cargo_sample.csv",
|
||||
"open \"{}/cargo_sample.toml\" | get package | save save_test_2/cargo_sample.csv",
|
||||
dirs.formats()
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user