func TestMainHelp(t *testing.T) { t.Parallel() a := subcommandstest.MakeAppMock(t, application) args := []string{"help"} r := subcommands.Run(a, args) ut.AssertEqual(t, 0, r) a.CheckBuffer(true, false) }
func makeDumbcasAppMock(t *testing.T) *DumbcasAppMock { return &DumbcasAppMock{ApplicationMock: subcommandstest.MakeAppMock(t, application)} }