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:
Joseph T. Lyons
2020-06-06 23:50:52 -04:00
committed by GitHub
parent 15e66ae065
commit bef9669b85
3 changed files with 5 additions and 5 deletions

View File

@@ -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()
@@ -113,9 +113,9 @@ fn filesystem_change_current_directory_to_parent_directory_after_delete_cwd() {
let actual = nu!(
cwd: dirs.test().join("foo/bar"),
r#"
rm {}/foo/bar
rm {}/foo/bar
echo ","
cd ..
cd ..
pwd | echo $it
"#,
dirs.test()