Skip to content

Commit

Permalink
args_test: specify 2 args instead of 3 in TestExactValidArgs_WithInva…
Browse files Browse the repository at this point in the history
…lidCount_WithInvalidArgs
  • Loading branch information
umarcor committed Aug 30, 2022
1 parent 83365ac commit 4e31482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion args_test.go
Expand Up @@ -486,7 +486,7 @@ func TestExactValidArgs_WithInvalidCount(t *testing.T) {
}

func TestExactValidArgs_WithInvalidCount_WithInvalidArgs(t *testing.T) {
c := getCommand(ExactValidArgs(3), true)
c := getCommand(ExactValidArgs(2), true)
_, err := executeCommand(c, "three", "a", "two")
exactArgsWithInvalidCount(err, t)
}
Expand Down

0 comments on commit 4e31482

Please sign in to comment.