Cleanup some comments left behind

This commit is contained in:
malko 2023-03-30 13:08:48 +02:00
parent db7f74ab37
commit 5d0073da4b

View file

@ -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)
}