No need to test file without permission.

This commit is contained in:
Volodymyr Patuta 2020-10-13 12:27:41 +02:00
parent 8c04fe7b9d
commit 972850310e
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ mod tests {
fn test_open_file() { fn test_open_file() {
assert!(open_file("two_robots.txt").is_ok()); assert!(open_file("two_robots.txt").is_ok());
assert!(open_file("test_unexisting_file.extension").is_err()); assert!(open_file("test_unexisting_file.extension").is_err());
assert!(open_file("no_permission.txt").is_err());
} }
} }