File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
44#![ warn( clippy:: print_stderr) ]
55#![ warn( clippy:: print_stdout) ]
6- #![ allow( clippy:: todo) ]
76
87pub mod event;
98
Original file line number Diff line number Diff line change @@ -265,10 +265,16 @@ fn run(
265265 ) ?;
266266
267267 if opts. no_capture {
268- todo ! ( "`--no-capture` is not yet supported" ) ;
268+ return Err ( std:: io:: Error :: new (
269+ std:: io:: ErrorKind :: Unsupported ,
270+ "`--no-capture` is not supported at this time" ,
271+ ) ) ;
269272 }
270273 if opts. show_output {
271- todo ! ( "`--show-output` is not yet supported" ) ;
274+ return Err ( std:: io:: Error :: new (
275+ std:: io:: ErrorKind :: Unsupported ,
276+ "`--show-output` is not supported at this time" ,
277+ ) ) ;
272278 }
273279
274280 let threads = opts. test_threads . map ( |t| t. get ( ) ) . unwrap_or ( 1 ) ;
Original file line number Diff line number Diff line change 2323#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
2424// #![warn(clippy::print_stderr)]
2525// #![warn(clippy::print_stdout)]
26- #![ allow( clippy:: todo) ]
2726
2827mod case;
2928mod context;
You can’t perform that action at this time.
0 commit comments