From 4e31482378d51181ed0651cd6daf6a6aa2e946ab Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 30 Aug 2022 19:32:25 +0200 Subject: [PATCH] args_test: specify 2 args instead of 3 in TestExactValidArgs_WithInvalidCount_WithInvalidArgs --- args_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/args_test.go b/args_test.go index 7ae9ed6b5..1346d2999 100644 --- a/args_test.go +++ b/args_test.go @@ -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) }