fix: Remove yaml v3→v4 migration from this PR (moved to dedicated PR)

This commit is contained in:
ZPascal
2026-05-26 15:44:38 +02:00
committed by I539231
parent c5b51f954b
commit 2aa754f287
24 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"go.yaml.in/yaml/v4"
"gopkg.in/yaml.v3"
)
func TestIssueTemplate_Type(t *testing.T) {
@@ -95,7 +95,7 @@ labels:
t.Run(tt.name, func(t *testing.T) {
err := yaml.Unmarshal([]byte(tt.content), tt.tmpl)
if tt.wantErr != "" {
assert.ErrorContains(t, err, tt.wantErr)
assert.EqualError(t, err, tt.wantErr)
} else {
assert.NoError(t, err)
assert.Equal(t, tt.want, tt.tmpl)