mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-03 00:50:11 +03:00
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:
parent
4e0acb89b7
commit
c84ad8db82
3 changed files with 286 additions and 97 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue