mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 10:42:15 +02:00
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:
committed by
GitHub
parent
a16a91ede8
commit
2b0212880e
@@ -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"));
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user