File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -230,9 +230,9 @@ fn parse_opts_impl(matches: getopts::Matches) -> OptRes {
230230 // Unstable flags
231231 let force_run_in_process = unstable_optflag ! ( matches, allow_unstable, "force-run-in-process" ) ;
232232 let exclude_should_panic = unstable_optflag ! ( matches, allow_unstable, "exclude-should-panic" ) ;
233- let include_ignored = unstable_optflag ! ( matches, allow_unstable, "include-ignored" ) ;
234233 let time_options = get_time_options ( & matches, allow_unstable) ?;
235234
235+ let include_ignored = matches. opt_present ( "include-ignored" ) ;
236236 let quiet = matches. opt_present ( "quiet" ) ;
237237 let exact = matches. opt_present ( "exact" ) ;
238238 let list = matches. opt_present ( "list" ) ;
Original file line number Diff line number Diff line change @@ -382,12 +382,7 @@ fn parse_show_output_flag() {
382382
383383#[ test]
384384fn parse_include_ignored_flag ( ) {
385- let args = vec ! [
386- "progname" . to_string( ) ,
387- "filter" . to_string( ) ,
388- "-Zunstable-options" . to_string( ) ,
389- "--include-ignored" . to_string( ) ,
390- ] ;
385+ let args = vec ! [ "progname" . to_string( ) , "filter" . to_string( ) , "--include-ignored" . to_string( ) ] ;
391386 let opts = parse_opts ( & args) . unwrap ( ) . unwrap ( ) ;
392387 assert_eq ! ( opts. run_ignored, RunIgnored :: Yes ) ;
393388}
You can’t perform that action at this time.
0 commit comments