From 972850310e3c2d17556cd8a8dea9f81ab141a92c Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <90917-fiplox@users.noreply.framagit.org> Date: Tue, 13 Oct 2020 12:27:41 +0200 Subject: [PATCH] No need to test file without permission. --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d4782fb..a27e2b3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,7 +67,6 @@ mod tests { fn test_open_file() { assert!(open_file("two_robots.txt").is_ok()); assert!(open_file("test_unexisting_file.extension").is_err()); - assert!(open_file("no_permission.txt").is_err()); } }