Bump golang to v1.14.2 (#1132)

* Bump golang to v1.14.2

* Use gotest.tools/v3
This commit is contained in:
chenrui
2020-04-21 09:06:29 +09:00
committed by GitHub
parent 6b6b86a0b5
commit b89fba1cc2
8 changed files with 168 additions and 24 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import (
"testing"
"github.com/roboll/helmfile/pkg/exectest"
"gotest.tools/assert"
"gotest.tools/v3/assert"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/state"
@@ -24,7 +24,7 @@ import (
"github.com/variantdev/vals"
"go.uber.org/zap"
"gotest.tools/env"
"gotest.tools/v3/env"
)
func appWithFs(app *App, files map[string]string) *App {
+3 -3
View File
@@ -1,9 +1,9 @@
package app
import (
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
"gotest.tools/env"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/env"
"os"
"testing"
)
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"github.com/roboll/helmfile/pkg/testhelper"
"go.uber.org/zap"
. "gotest.tools/assert"
"gotest.tools/assert/cmp"
. "gotest.tools/v3/assert"
"gotest.tools/v3/assert/cmp"
)
func createFromYaml(content []byte, file string, env string, logger *zap.SugaredLogger) (*HelmState, error) {