File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1662,7 +1662,7 @@ class App {
1662
1662
new CommandLine (new App ()).parseArgs ("--implicit=false --explicit=false" .split (" " ));
1663
1663
fail ("--explicit option should not accept parameters" );
1664
1664
} catch (ParameterException ex ) {
1665
- assertEquals ("option '--explicit' (<explicit>) should be specified without 'false' parameter" , ex .getMessage ());
1665
+ assertEquals ("option '--explicit' should be specified without 'false' parameter" , ex .getMessage ());
1666
1666
}
1667
1667
}
1668
1668
Original file line number Diff line number Diff line change @@ -1916,7 +1916,7 @@ class App {
1916
1916
CommandLine .populateCommand (new App (), "-v" , "-v" );
1917
1917
fail ("expected exception" );
1918
1918
} catch (OverwrittenOptionException ex ) {
1919
- assertEquals ("option '-v' (<bool>) should be specified only once" , ex .getMessage ());
1919
+ assertEquals ("option '-v' should be specified only once" , ex .getMessage ());
1920
1920
}
1921
1921
}
1922
1922
@@ -1936,7 +1936,7 @@ class App {
1936
1936
CommandLine .populateCommand (new App (), "-v" , "--verbose" );
1937
1937
fail ("expected exception" );
1938
1938
} catch (OverwrittenOptionException ex ) {
1939
- assertEquals ("option '--verbose' (<bool>) should be specified only once" , ex .getMessage ());
1939
+ assertEquals ("option '--verbose' should be specified only once" , ex .getMessage ());
1940
1940
}
1941
1941
}
1942
1942
You can’t perform that action at this time.
0 commit comments