Have FilesystemShell#rm correctly delete symlinks (#1550)

This commit is contained in:
Jason Gedge
2020-04-05 17:17:52 -04:00
committed by GitHub
parent 6a604491f5
commit 0a198b9bd0
2 changed files with 61 additions and 86 deletions

View File

@ -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"));
})
}