Skip to content

Commit 79302c9

Browse files
committed
Add coverage
1 parent 2daf572 commit 79302c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

args_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func TestArgumentsRootCommand(t *testing.T) {
9292
r.Equal(test.expectedIvals, ivals)
9393
r.Equal(test.expectedIvals, cmd.IntArgs("ia"))
9494
r.Equal(test.expectedFvals, cmd.FloatArgs("fa"))
95+
r.Equal(test.expectedUivals, cmd.UintArgs("uia"))
9596
/*if test.expectedFvals != nil {
9697
r.Equal(test.expectedFvals, fvals)
9798
}*/
@@ -130,6 +131,7 @@ func TestArgumentsInvalidType(t *testing.T) {
130131
r.Nil(cmd.FloatArgs("ia"))
131132
r.Nil(cmd.UintArgs("ia"))
132133
r.Nil(cmd.TimestampArgs("ia"))
134+
r.Nil(cmd.IntArgs("uia"))
133135
}
134136

135137
func TestArgumentsSubcommand(t *testing.T) {

0 commit comments

Comments
 (0)