From 0d148c6e80583dfe029d5362f61b92334a22341a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 10 May 2020 23:24:36 +0200 Subject: [PATCH] fix: remove default --allow-read perm for deno test (#5208) --- cli/flags.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cli/flags.rs b/cli/flags.rs index 216fcd4744820..c703089f9d6fe 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -533,8 +533,6 @@ fn run_parse(flags: &mut Flags, matches: &clap::ArgMatches) { } fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) { - flags.allow_read = true; - run_test_args_parse(flags, matches); let failfast = matches.is_present("failfast"); @@ -2390,7 +2388,6 @@ mod tests { quiet: false, include: Some(svec!["dir1/", "dir2/"]), }, - allow_read: true, allow_net: true, ..Flags::default() } @@ -2410,7 +2407,6 @@ mod tests { filter: Some("foo".to_string()), include: Some(svec!["dir1"]), }, - allow_read: true, ..Flags::default() } );