File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -409,9 +409,7 @@ pub fn output_english_plain(result: &ToEnglish) -> Result<String> {
409
409
#[ cfg( test) ]
410
410
mod tests {
411
411
use super :: * ;
412
- use assert_cmd:: Command ;
413
412
use mockito:: { Matcher , Server } ;
414
- use predicates:: prelude:: * ;
415
413
416
414
#[ test]
417
415
fn test_contains_cjk_with_cjk ( ) {
@@ -433,17 +431,6 @@ mod tests {
433
431
assert ! ( !contains_cjk( "" ) ) ;
434
432
}
435
433
436
- #[ test]
437
- fn test_cmd_stdin_empty ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
438
- let mut cmd = Command :: cargo_bin ( "rdict" ) ?;
439
- cmd. write_stdin ( "" )
440
- . assert ( )
441
- . failure ( )
442
- . stderr ( predicate:: str:: contains ( "No word specified" ) ) ;
443
-
444
- Ok ( ( ) )
445
- }
446
-
447
434
#[ tokio:: test]
448
435
async fn test_fetch_word_html_success_with_mock_server ( ) {
449
436
let mut server = Server :: new_async ( ) . await ;
You can’t perform that action at this time.
0 commit comments