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

@@ -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")
);