Skip to content

Commit d9d8086

Browse files
messenseThomas Bracht Laumann Jespersen
authored andcommitted
Revert "Fix the run_ignored issue while supporting both nightly and stable"
This reverts commit 9df065f.
1 parent 17b817b commit d9d8086

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,10 @@ pub fn run_tests(config: &Config) {
9494
}
9595

9696
pub fn test_opts(config: &Config) -> test::TestOpts {
97-
#[cfg(feature = "stable")]
98-
let run_ignored = config.run_ignored;
99-
100-
#[cfg(not(feature = "stable"))]
101-
let run_ignored = if config.run_ignored { test::RunIgnored::Yes } else { test::RunIgnored::No };
102-
10397
test::TestOpts {
10498
filter: config.filter.clone(),
10599
filter_exact: config.filter_exact,
106-
run_ignored: run_ignored,
100+
run_ignored: if config.run_ignored { test::RunIgnored::Yes } else { test::RunIgnored::No },
107101
format: if config.quiet { test::OutputFormat::Terse } else { test::OutputFormat::Pretty },
108102
logfile: config.logfile.clone(),
109103
run_tests: true,

0 commit comments

Comments
 (0)