mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 02:38:37 +02:00
RM error on bad filename (#1244)
* rm error on bad filename * De-lint * Fix error message in test
This commit is contained in:
committed by
Jonathan Turner
parent
798a24eda5
commit
a5e1372bc2
@ -132,7 +132,7 @@ fn errors_if_attempting_to_delete_a_directory_with_content_without_recursive_fla
|
||||
);
|
||||
|
||||
assert!(dirs.test().exists());
|
||||
assert!(actual.contains("is a directory"));
|
||||
assert!(actual.contains("Cannot remove non-empty directory"));
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user