@@ -220,7 +220,7 @@ fn set_true_with_required_if_eq() {
220
220
}
221
221
222
222
#[ test]
223
- #[ should_panic = "Argument `mammal`'s selected action SetTrue contradicts `takes_value `" ]
223
+ #[ should_panic = "Argument `mammal`'s action SetTrue is incompatible with `num_args(1..) `" ]
224
224
fn set_true_with_incompatible_num_args ( ) {
225
225
Command :: new ( "test" )
226
226
. arg (
@@ -347,7 +347,7 @@ fn set_false_with_default_value_if_value() {
347
347
}
348
348
349
349
#[ test]
350
- #[ should_panic = "Argument `mammal`'s selected action SetFalse contradicts `takes_value `" ]
350
+ #[ should_panic = "Argument `mammal`'s action SetFalse is incompatible with `num_args(1..) `" ]
351
351
fn set_false_with_incompatible_num_args ( ) {
352
352
Command :: new ( "test" )
353
353
. arg (
@@ -470,7 +470,7 @@ fn count_with_default_value_if_value() {
470
470
}
471
471
472
472
#[ test]
473
- #[ should_panic = "Argument `mammal`'s selected action Count contradicts `takes_value `" ]
473
+ #[ should_panic = "Argument `mammal`'s action Count is incompatible with `num_args(1..) `" ]
474
474
fn count_with_incompatible_num_args ( ) {
475
475
Command :: new ( "test" )
476
476
. arg (
@@ -483,7 +483,7 @@ fn count_with_incompatible_num_args() {
483
483
}
484
484
485
485
#[ test]
486
- #[ should_panic = "Argument `mammal`'s selected action Help contradicts `takes_value `" ]
486
+ #[ should_panic = "Argument `mammal`'s action Help is incompatible with `num_args(1..) `" ]
487
487
fn help_with_incompatible_num_args ( ) {
488
488
Command :: new ( "test" )
489
489
. arg (
@@ -496,7 +496,7 @@ fn help_with_incompatible_num_args() {
496
496
}
497
497
498
498
#[ test]
499
- #[ should_panic = "Argument `mammal`'s selected action HelpShort contradicts `takes_value `" ]
499
+ #[ should_panic = "Argument `mammal`'s action HelpShort is incompatible with `num_args(1..) `" ]
500
500
fn help_short_with_incompatible_num_args ( ) {
501
501
Command :: new ( "test" )
502
502
. arg (
@@ -509,7 +509,7 @@ fn help_short_with_incompatible_num_args() {
509
509
}
510
510
511
511
#[ test]
512
- #[ should_panic = "Argument `mammal`'s selected action HelpLong contradicts `takes_value `" ]
512
+ #[ should_panic = "Argument `mammal`'s action HelpLong is incompatible with `num_args(1..) `" ]
513
513
fn help_long_with_incompatible_num_args ( ) {
514
514
Command :: new ( "test" )
515
515
. arg (
@@ -522,7 +522,7 @@ fn help_long_with_incompatible_num_args() {
522
522
}
523
523
524
524
#[ test]
525
- #[ should_panic = "Argument `mammal`'s selected action Version contradicts `takes_value `" ]
525
+ #[ should_panic = "Argument `mammal`'s action Version is incompatible with `num_args(1..) `" ]
526
526
fn version_with_incompatible_num_args ( ) {
527
527
Command :: new ( "test" )
528
528
. version ( "1.0.0" )
0 commit comments