From 2c17045aa8fd6f01b379fbb6e5d29b9df45b9b1b Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Mon, 23 Aug 2021 22:03:57 +0800 Subject: refactor(cli/tools/test): infer disable log from program state (#11803) --- cli/flags.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cli/flags.rs') diff --git a/cli/flags.rs b/cli/flags.rs index 8236d63db..53177465d 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -102,7 +102,6 @@ pub enum DenoSubcommand { doc: bool, no_run: bool, fail_fast: Option, - quiet: bool, allow_none: bool, include: Option>, filter: Option, @@ -1772,7 +1771,6 @@ fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) { let no_run = matches.is_present("no-run"); let doc = matches.is_present("doc"); let allow_none = matches.is_present("allow-none"); - let quiet = matches.is_present("quiet"); let filter = matches.value_of("filter").map(String::from); let fail_fast = if matches.is_present("fail-fast") { @@ -1837,7 +1835,6 @@ fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) { no_run, doc, fail_fast, - quiet, include, filter, shuffle, @@ -3566,7 +3563,6 @@ mod tests { fail_fast: None, filter: Some("- foo".to_string()), allow_none: true, - quiet: false, include: Some(svec!["dir1/", "dir2/"]), shuffle: None, concurrent_jobs: NonZeroUsize::new(1).unwrap(), @@ -3634,7 +3630,6 @@ mod tests { fail_fast: None, filter: None, allow_none: false, - quiet: false, shuffle: None, include: None, concurrent_jobs: NonZeroUsize::new(4).unwrap(), @@ -3659,7 +3654,6 @@ mod tests { fail_fast: Some(NonZeroUsize::new(3).unwrap()), filter: None, allow_none: false, - quiet: false, shuffle: None, include: None, concurrent_jobs: NonZeroUsize::new(1).unwrap(), @@ -3688,7 +3682,6 @@ mod tests { fail_fast: None, filter: None, allow_none: false, - quiet: false, shuffle: None, include: None, concurrent_jobs: NonZeroUsize::new(1).unwrap(), @@ -3711,7 +3704,6 @@ mod tests { fail_fast: None, filter: None, allow_none: false, - quiet: false, shuffle: Some(1), include: None, concurrent_jobs: NonZeroUsize::new(1).unwrap(), @@ -3734,7 +3726,6 @@ mod tests { fail_fast: None, filter: None, allow_none: false, - quiet: false, shuffle: None, include: None, concurrent_jobs: NonZeroUsize::new(1).unwrap(), -- cgit v1.2.3