mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 19:07:42 +02:00
Have FilesystemShell#rm correctly delete symlinks (#1550)
This commit is contained in:
@ -144,7 +144,7 @@ fn errors_if_attempting_to_delete_single_dot_as_argument() {
|
||||
"rm ."
|
||||
);
|
||||
|
||||
assert!(actual.contains("may not be removed"));
|
||||
assert!(actual.contains("cannot remove any parent directory"));
|
||||
})
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ fn errors_if_attempting_to_delete_two_dot_as_argument() {
|
||||
"rm .."
|
||||
);
|
||||
|
||||
assert!(actual.contains("may not be removed"));
|
||||
assert!(actual.contains("cannot remove any parent directory"));
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user