0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

fix: remove default --allow-read perm for deno test (#5208)

This commit is contained in:
Bartek Iwańczuk 2020-05-10 23:24:36 +02:00 committed by GitHub
parent e74a83a715
commit 0d148c6e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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