// Lists apps or fails. func mustAppList(t testing.TB, c *heroku.Client) []heroku.App { apps, err := c.AppList(nil) if err != nil { t.Fatal(err) } return apps }