add --perf cli param (#4391)

* add `--perf` cli param

* clippy

* fixed 2 `cp` tests on windows
This commit is contained in:
Darren Schroeder
2022-02-09 16:08:16 -06:00
committed by GitHub
parent fc88a8538b
commit f275644e13
11 changed files with 301 additions and 73 deletions

View File

@ -127,7 +127,7 @@ fn copies_using_path_with_wildcard() {
Playground::setup("cp_test_6", |dirs, _| {
nu!(
cwd: dirs.formats(),
"cp ../formats/* {}", dirs.test()
"cp -r ../formats/* {}", dirs.test()
);
assert!(files_exist_at(
@ -149,7 +149,7 @@ fn copies_using_a_glob() {
Playground::setup("cp_test_7", |dirs, _| {
nu!(
cwd: dirs.formats(),
"cp * {}", dirs.test()
"cp -r * {}", dirs.test()
);
assert!(files_exist_at(