// Creates an app or fails. func mustAppCreate(t testing.TB, c *heroku.Client, app empire.App) *heroku.App { name := string(app.Name) opts := heroku.AppCreateOpts{ Name: &name, } a, err := c.AppCreate(&opts) if err != nil { t.Fatal(err) } return a }
// Creates an app or fails. func mustAppCreate(t testing.TB, c *heroku.Client, app empire.App) *heroku.App { name := string(app.Name) opts := heroku.AppCreateOpts{ Name: &name, } a, err := c.AppCreate(&opts) if err != nil { t.Fatal(err) } return a }