Simplify cp command and allow multiple recursive copying (#1580)

* Better message error

* Use custom canonicalize in FileStructure build

* Better glob error in ls

* Use custom canonicalize, remove some duplicate code in cd.

* Enable recursive copying with patterns.

* Change test to fit new error message

* Test recursive with glob pattern

* Show that not matches were found in cp

* Fix typo in message error

* Change old canonicalize usage, follow newest changes
This commit is contained in:
Kevin Del Castillo
2020-04-18 18:05:24 -05:00
committed by GitHub
parent a16a91ede8
commit 2b0212880e
4 changed files with 88 additions and 222 deletions

View File

@@ -128,7 +128,7 @@ fn fails_when_glob_doesnt_match() {
"ls root3*"
);
assert!(actual.contains("invalid file or pattern"));
assert!(actual.contains("no matches found"));
})
}