File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ fn test_multi() {
676676 "-e" . to_string( ) ,
677677 "foo" . to_string( ) ,
678678 "--encrypt" . to_string( ) ,
679- "foo " . to_string( ) ,
679+ "bar " . to_string( ) ,
680680 ] ;
681681 let matches_both = & match opts. parse ( & args_both) {
682682 Ok ( m) => m,
@@ -700,7 +700,7 @@ fn test_multi() {
700700 assert_eq ! ( matches_both. opts_str( & [ "e" . to_string( ) ] ) . unwrap( ) , "foo" ) ;
701701 assert_eq ! (
702702 matches_both. opts_str( & [ "encrypt" . to_string( ) ] ) . unwrap( ) ,
703- "foo "
703+ "bar "
704704 ) ;
705705 assert_eq ! (
706706 matches_both
@@ -712,21 +712,21 @@ fn test_multi() {
712712 matches_both
713713 . opts_str( & [ "encrypt" . to_string( ) , "e" . to_string( ) ] )
714714 . unwrap( ) ,
715- "foo "
715+ "bar "
716716 ) ;
717717
718718 assert_eq ! ( matches_both. opts_str_first( & [ "e" ] ) . unwrap( ) , "foo" ) ;
719719 assert_eq ! (
720720 matches_both. opts_str_first( & [ "encrypt" ] ) . unwrap( ) ,
721- "foo "
721+ "bar "
722722 ) ;
723723 assert_eq ! (
724724 matches_both. opts_str_first( & [ "e" , "encrypt" ] ) . unwrap( ) ,
725725 "foo"
726726 ) ;
727727 assert_eq ! (
728728 matches_both. opts_str_first( & [ "encrypt" , "e" ] ) . unwrap( ) ,
729- "foo "
729+ "bar "
730730 ) ;
731731 assert_eq ! ( matches_both. opts_str_first( & [ "f" ] ) , None ) ;
732732 assert_eq ! ( matches_both. opts_str_first( no_opts) , None ) ;
You can’t perform that action at this time.
0 commit comments