mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Cleanup some comments left behind
This commit is contained in:
parent
db7f74ab37
commit
5d0073da4b
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue