diff --git a/cmd/cmd_suite_test.go b/cmd/cmd_suite_test.go index 8454131..c53048f 100644 --- a/cmd/cmd_suite_test.go +++ b/cmd/cmd_suite_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/cmd/module_test.go b/cmd/module_test.go index 3766375..c3fbe38 100644 --- a/cmd/module_test.go +++ b/cmd/module_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "os" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/cmd/mta_test.go b/cmd/mta_test.go index 08b76b7..eae0cdc 100644 --- a/cmd/mta_test.go +++ b/cmd/mta_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "os" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/cmd/resource_test.go b/cmd/resource_test.go index c4ad2ca..705f438 100644 --- a/cmd/resource_test.go +++ b/cmd/resource_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "os" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/go.mod b/go.mod index ec9e0cc..92f41dd 100644 --- a/go.mod +++ b/go.mod @@ -9,8 +9,8 @@ require ( github.com/mattn/go-colorable v0.1.1 // indirect github.com/mattn/go-isatty v0.0.7 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect - github.com/onsi/ginkgo v1.16.2 - github.com/onsi/gomega v1.13.0 + github.com/onsi/ginkgo/v2 v2.1.1 + github.com/onsi/gomega v1.17.0 github.com/pelletier/go-toml v1.3.0 // indirect github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.8.1 diff --git a/go.sum b/go.sum index 29a5ff9..21a13a1 100644 --- a/go.sum +++ b/go.sum @@ -25,6 +25,9 @@ github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+Ce github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -80,6 +83,7 @@ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/ github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= @@ -111,6 +115,7 @@ github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0m github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= @@ -167,12 +172,14 @@ github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+ github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.16.2 h1:HFB2fbVIlhIfCfOW81bZFbiC/RvnpXSdhbF2/DJr134= -github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= +github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo/v2 v2.1.1 h1:LCnPB85AvFNr91s0B2aDzEiiIg6MUwLYbryC1NSlWi8= +github.com/onsi/ginkgo/v2 v2.1.1/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.13.0 h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak= -github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= +github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.3.0 h1:e5+lF2E4Y2WCIxBefVowBuB0iHrUH4HZ8q+6mGF7fJc= @@ -319,6 +326,7 @@ golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/internal/logs/logger_test.go b/internal/logs/logger_test.go index ce477ff..82de0d3 100755 --- a/internal/logs/logger_test.go +++ b/internal/logs/logger_test.go @@ -4,8 +4,7 @@ import ( "os" "testing" - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/sirupsen/logrus" ) diff --git a/internal/resolver/mtaresolver_test.go b/internal/resolver/mtaresolver_test.go index 55c41c8..78e5e99 100644 --- a/internal/resolver/mtaresolver_test.go +++ b/internal/resolver/mtaresolver_test.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - . "github.com/onsi/gomega/types" + "github.com/onsi/gomega/types" "github.com/SAP/cloud-mta/internal/fs" "github.com/SAP/cloud-mta/mta" @@ -19,7 +19,7 @@ func callResolveAndGetOutput(wd, moduleName, yamlPath string, extensions []strin return result, messages } -func callResolveAndValidateOutput(wd, moduleName, yamlPath string, extensions []string, envFile string, expected ResolveResult, expectedMessagesMatcher GomegaMatcher) { +func callResolveAndValidateOutput(wd, moduleName, yamlPath string, extensions []string, envFile string, expected ResolveResult, expectedMessagesMatcher types.GomegaMatcher) { actualResult, actualMessages := callResolveAndGetOutput(wd, moduleName, yamlPath, extensions, envFile) Ω(actualResult).Should(Equal(expected)) Ω(actualMessages).Should(expectedMessagesMatcher) diff --git a/internal/resolver/resolver_suite_test.go b/internal/resolver/resolver_suite_test.go index c093c6c..c717cf0 100644 --- a/internal/resolver/resolver_suite_test.go +++ b/internal/resolver/resolver_suite_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/internal/version/version_suite_test.go b/internal/version/version_suite_test.go index 8c52180..8737336 100644 --- a/internal/version/version_suite_test.go +++ b/internal/version/version_suite_test.go @@ -3,7 +3,7 @@ package version import ( "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/mta/ext_test.go b/mta/ext_test.go index 74afa2f..2da9c58 100644 --- a/mta/ext_test.go +++ b/mta/ext_test.go @@ -4,8 +4,7 @@ import ( "os" "path/filepath" - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/internal/fs" diff --git a/mta/mta_services_test.go b/mta/mta_services_test.go index 94468c5..b09d1e1 100644 --- a/mta/mta_services_test.go +++ b/mta/mta_services_test.go @@ -13,7 +13,7 @@ import ( "sync" "time" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/internal/fs" diff --git a/mta/mta_suite_test.go b/mta/mta_suite_test.go index 10ab83c..dd3e4ca 100644 --- a/mta/mta_suite_test.go +++ b/mta/mta_suite_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/mta/mta_test.go b/mta/mta_test.go index 13eac31..9cc9c9c 100644 --- a/mta/mta_test.go +++ b/mta/mta_test.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/internal/fs" diff --git a/tools/embed_test.go b/tools/embed_test.go index 9d8783c..dc555ec 100644 --- a/tools/embed_test.go +++ b/tools/embed_test.go @@ -7,7 +7,7 @@ import ( "regexp" "strings" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/tools/tools_suite_test.go b/tools/tools_suite_test.go index 5ade424..c4c60b3 100644 --- a/tools/tools_suite_test.go +++ b/tools/tools_suite_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/validations/builder_schema_test.go b/validations/builder_schema_test.go index fe92606..b5af635 100644 --- a/validations/builder_schema_test.go +++ b/validations/builder_schema_test.go @@ -1,7 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/ext_validate_test.go b/validations/ext_validate_test.go index 5f15bef..3ac3891 100644 --- a/validations/ext_validate_test.go +++ b/validations/ext_validate_test.go @@ -2,8 +2,8 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/validations/metadata_schema_test.go b/validations/metadata_schema_test.go index 7fc95a2..1d480d8 100644 --- a/validations/metadata_schema_test.go +++ b/validations/metadata_schema_test.go @@ -3,7 +3,7 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/mta_schema_test.go b/validations/mta_schema_test.go index 3ec0435..3318086 100644 --- a/validations/mta_schema_test.go +++ b/validations/mta_schema_test.go @@ -1,7 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" ) var _ = Describe("MTA Schema Validations", func() { diff --git a/validations/mta_validate_test.go b/validations/mta_validate_test.go index c8970e6..9f6da0d 100644 --- a/validations/mta_validate_test.go +++ b/validations/mta_validate_test.go @@ -5,8 +5,7 @@ import ( "os" "path/filepath" - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" "gopkg.in/yaml.v3" diff --git a/validations/schema_validate_test.go b/validations/schema_validate_test.go index a84b179..be50997 100644 --- a/validations/schema_validate_test.go +++ b/validations/schema_validate_test.go @@ -4,10 +4,9 @@ import ( "fmt" "sort" - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - . "github.com/onsi/gomega/types" + "github.com/onsi/gomega/types" "github.com/smallfish/simpleyaml" ) @@ -256,7 +255,7 @@ optionalClasses: }) }) -var _ = DescribeTable("GetLiteralStringValue", func(data string, matcher GomegaMatcher) { +var _ = DescribeTable("GetLiteralStringValue", func(data string, matcher types.GomegaMatcher) { y, _ := simpleyaml.NewYaml([]byte(data)) value := getLiteralStringValue(y) Ω(value).Should(matcher) diff --git a/validations/schema_validations_builder_test.go b/validations/schema_validations_builder_test.go index 83f9b53..c038b2c 100644 --- a/validations/schema_validations_builder_test.go +++ b/validations/schema_validations_builder_test.go @@ -1,8 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" - . "github.com/onsi/ginkgo/extensions/table" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/validations/semantic_artifacts_test.go b/validations/semantic_artifacts_test.go index 5b8ef07..c74fa2f 100644 --- a/validations/semantic_artifacts_test.go +++ b/validations/semantic_artifacts_test.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_custom_builder_test.go b/validations/semantic_custom_builder_test.go index 6c172df..ac4853a 100644 --- a/validations/semantic_custom_builder_test.go +++ b/validations/semantic_custom_builder_test.go @@ -1,7 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_deployer_constraints_test.go b/validations/semantic_deployer_constraints_test.go index d1a7fc8..fe0163d 100644 --- a/validations/semantic_deployer_constraints_test.go +++ b/validations/semantic_deployer_constraints_test.go @@ -2,7 +2,8 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" + + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_deprecated_opts_test.go b/validations/semantic_deprecated_opts_test.go index 7145150..0ed3ff9 100644 --- a/validations/semantic_deprecated_opts_test.go +++ b/validations/semantic_deprecated_opts_test.go @@ -2,8 +2,9 @@ package validate import ( "fmt" + "github.com/SAP/cloud-mta/mta" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/validations/semantic_ext_names_test.go b/validations/semantic_ext_names_test.go index 5695c4f..874f4d5 100644 --- a/validations/semantic_ext_names_test.go +++ b/validations/semantic_ext_names_test.go @@ -2,7 +2,8 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" + + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_ext_validate_test.go b/validations/semantic_ext_validate_test.go index 0776bfd..7f6f126 100644 --- a/validations/semantic_ext_validate_test.go +++ b/validations/semantic_ext_validate_test.go @@ -2,7 +2,8 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" + + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_metadata_test.go b/validations/semantic_metadata_test.go index 1bdbea5..5fad0c6 100644 --- a/validations/semantic_metadata_test.go +++ b/validations/semantic_metadata_test.go @@ -3,7 +3,7 @@ package validate import ( "fmt" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_resolved_usages_test.go b/validations/semantic_resolved_usages_test.go index bb4c4eb..42e210b 100644 --- a/validations/semantic_resolved_usages_test.go +++ b/validations/semantic_resolved_usages_test.go @@ -1,7 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_uniqueness_test.go b/validations/semantic_uniqueness_test.go index d53cd8e..701ed2d 100644 --- a/validations/semantic_uniqueness_test.go +++ b/validations/semantic_uniqueness_test.go @@ -1,7 +1,7 @@ package validate import ( - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/semantic_validate_test.go b/validations/semantic_validate_test.go index 02c1462..cb2defa 100644 --- a/validations/semantic_validate_test.go +++ b/validations/semantic_validate_test.go @@ -3,7 +3,7 @@ package validate import ( "gopkg.in/yaml.v3" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/SAP/cloud-mta/mta" diff --git a/validations/validations_suite_test.go b/validations/validations_suite_test.go index 4a74a45..b2fc1dd 100644 --- a/validations/validations_suite_test.go +++ b/validations/validations_suite_test.go @@ -3,7 +3,7 @@ package validate_test import ( "testing" - . "github.com/onsi/ginkgo" + . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" )