Skip to content

Commit 4e31482

Browse files
committed
args_test: specify 2 args instead of 3 in TestExactValidArgs_WithInvalidCount_WithInvalidArgs
1 parent 83365ac commit 4e31482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

args_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ func TestExactValidArgs_WithInvalidCount(t *testing.T) {
486486
}
487487

488488
func TestExactValidArgs_WithInvalidCount_WithInvalidArgs(t *testing.T) {
489-
c := getCommand(ExactValidArgs(3), true)
489+
c := getCommand(ExactValidArgs(2), true)
490490
_, err := executeCommand(c, "three", "a", "two")
491491
exactArgsWithInvalidCount(err, t)
492492
}

0 commit comments

Comments
 (0)