James Alavosus 2 years ago
parent 1b3da50f16
commit 1dfa9827f6
No known key found for this signature in database
GPG Key ID: 1B900ABF298E2A89

@ -551,7 +551,7 @@ func TestApp_RunDefaultCommandWithSubCommand(t *testing.T) {
{Name: "batbaz", Aliases: []string{"b"}},
},
}
err := app.Run([]string{"c", test.cmdName, test.subCmd})
expect(t, err == nil, test.expected)
})
@ -2386,4 +2386,4 @@ func TestSetupInitializesOnlyNilWriters(t *testing.T) {
if a.Writer != os.Stdout {
t.Errorf("expected a.Writer to be os.Stdout")
}
}
}

Loading…
Cancel
Save