diff options
author | Jason Song <i@wolfogre.com> | 2022-11-21 16:36:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 16:36:59 +0800 |
commit | e4eaa68a2b2355c7333406fdcbb8b118677b95df (patch) | |
tree | a4027ec3b2efc7bf4d2f22f51676f3dc26e829e3 /tests | |
parent | b4802b9b2eae044e35f022dc7116986e4762a944 (diff) | |
download | gitea-e4eaa68a2b2355c7333406fdcbb8b118677b95df.tar.gz gitea-e4eaa68a2b2355c7333406fdcbb8b118677b95df.zip |
Replace yaml.v2 with yaml.v3 (#21832)
I don't see why we have to use two versions of yaml. The difference
between the two versions has nothing to do with our usage.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/api_packages_helm_test.go | 2 | ||||
-rw-r--r-- | tests/integration/dump_restore_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/api_packages_helm_test.go b/tests/integration/api_packages_helm_test.go index 393bf3cbe2..3c30a6848e 100644 --- a/tests/integration/api_packages_helm_test.go +++ b/tests/integration/api_packages_helm_test.go @@ -22,7 +22,7 @@ import ( "code.gitea.io/gitea/tests" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) func TestPackageHelm(t *testing.T) { diff --git a/tests/integration/dump_restore_test.go b/tests/integration/dump_restore_test.go index 19513d0271..80c71810e3 100644 --- a/tests/integration/dump_restore_test.go +++ b/tests/integration/dump_restore_test.go @@ -25,7 +25,7 @@ import ( "code.gitea.io/gitea/services/migrations" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) func TestDumpRestore(t *testing.T) { |