deps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0

The substring match in TestExecute deploy test is adjusted accordingly.
This commit is contained in:
Anthony Fok 2020-12-04 20:43:03 -07:00
parent 4e0acb89b7
commit c84ad8db82
No known key found for this signature in database
GPG key ID: EA2500B412C59ACF
3 changed files with 286 additions and 97 deletions

View file

@ -89,7 +89,7 @@ func TestExecute(t *testing.T) {
defer clean()
resp := Execute([]string{"deploy", "-s=" + dir, "-e=staging", "--target=mydeployment", "--dryRun"})
c.Assert(resp.Err, qt.Not(qt.IsNil))
c.Assert(resp.Err.Error(), qt.Contains, `no provider registered for "hugocloud"`)
c.Assert(resp.Err.Error(), qt.Contains, `no driver registered for "hugocloud"`)
})
c.Run("list", func(c *qt.C) {