Skip to content

Commit dd1f940

Browse files
committed
add test case to show default verb still works with alias
1 parent 5afbdda commit dd1f940

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CommandLine.Tests/Unit/Issue6Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class Issue6Tests
2121
[InlineData("mv -a bob", typeof(AliasedVerbOption1))]
2222
[InlineData("copy -a bob", typeof(AliasedVerbOption2))]
2323
[InlineData("cp -a bob", typeof(AliasedVerbOption2))]
24+
[InlineData("-a bob", typeof(AliasedVerbOption2))]
2425
public void Parse_option_with_aliased_verbs(string args, Type expectedArgType)
2526
{
2627
var arguments = args.Split(' ');

0 commit comments

Comments
 (0)