summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-10 23:24:36 +0200
committerGitHub <noreply@github.com>2020-05-10 23:24:36 +0200
commit0d148c6e80583dfe029d5362f61b92334a22341a (patch)
treec7a6773c7afc761afbb63397f1299cb2bde77260
parente74a83a7152fc5d1f6dace1fac49062d331f1cac (diff)
fix: remove default --allow-read perm for deno test (#5208)
-rw-r--r--cli/flags.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 216fcd474..c703089f9 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()
}
);