File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,10 @@ pub fn run_tests(config: &Config) {
94
94
}
95
95
96
96
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
-
103
97
test:: TestOpts {
104
98
filter : config. filter . clone ( ) ,
105
99
filter_exact : config. filter_exact ,
106
- run_ignored : run_ignored,
100
+ run_ignored : if config . run_ignored { test :: RunIgnored :: Yes } else { test :: RunIgnored :: No } ,
107
101
format : if config. quiet { test:: OutputFormat :: Terse } else { test:: OutputFormat :: Pretty } ,
108
102
logfile : config. logfile . clone ( ) ,
109
103
run_tests : true ,
You can’t perform that action at this time.
0 commit comments