From 5d0073da4b9afced45ae7519f18127da5ba0427b Mon Sep 17 00:00:00 2001 From: malko Date: Thu, 30 Mar 2023 13:08:48 +0200 Subject: [PATCH] Cleanup some comments left behind --- args_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/args_test.go b/args_test.go index 0dab0a5e..4132f77c 100644 --- a/args_test.go +++ b/args_test.go @@ -93,11 +93,6 @@ func TestNoArgs_WithPostTerminatorArgs(t *testing.T) { c := getCommand(NoArgs, false) _, err := executeCommand(c, "--", "post", "args") noArgsWithArgs(err, t, "post") - // got := c.PostTerminatorArgs() - // expected := []string{"post", "args"} - // if strings.Join(got, ",") != strings.Join(expected, ",") { - // t.Fatalf("Expected %q, got %q", expected, got) - // } } func TestNoArgs_WithIgnoredPostTerminatorArgs(t *testing.T) { c := getCommand(NoArgs, false) @@ -228,7 +223,7 @@ func TestMinimumNArgs_WithLessArgs_WithIgnoredPostTerminatorArgs(t *testing.T) { func TestMinimumNArgs_WithLessArgs_WithValid(t *testing.T) { c := getCommand(MinimumNArgs(2), true) - _, err := executeCommand(c, "one") // @todo check + _, err := executeCommand(c, "one") minimumNArgsWithLessArgs(err, t) }