File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ package fieldpath
19
19
import (
20
20
"testing"
21
21
22
+ yaml "go.yaml.in/yaml/v2"
22
23
"sigs.k8s.io/structured-merge-diff/v6/value"
23
- yaml "sigs.k8s.io/yaml/goyaml.v2"
24
24
)
25
25
26
26
func TestFromValue (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
24
24
25
25
"sigs.k8s.io/structured-merge-diff/v6/value"
26
26
27
+ yaml "go.yaml.in/yaml/v2"
27
28
"sigs.k8s.io/structured-merge-diff/v6/schema"
28
- yaml "sigs.k8s.io/yaml/goyaml.v2"
29
29
)
30
30
31
31
type randomPathAlphabet []PathElement
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ module sigs.k8s.io/structured-merge-diff/v6
3
3
require (
4
4
github.com/google/go-cmp v0.5.9
5
5
github.com/json-iterator/go v1.1.12
6
+ go.yaml.in/yaml/v2 v2.4.2
6
7
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016
7
- sigs.k8s.io/yaml v1.4.0
8
8
)
9
9
10
10
require (
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
16
16
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
17
17
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q =
18
18
github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
19
+ go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI =
20
+ go.yaml.in/yaml/v2 v2.4.2 /go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU =
19
21
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
20
22
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
21
23
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016 h1:kXv6kKdoEtedwuqMmkqhbkgvYKeycVbC8+iPCP9j5kQ =
22
24
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016 /go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY =
23
- sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E =
24
- sigs.k8s.io/yaml v1.4.0 /go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY =
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ import (
22
22
"strings"
23
23
"testing"
24
24
25
+ yaml "go.yaml.in/yaml/v2"
25
26
"sigs.k8s.io/structured-merge-diff/v6/fieldpath"
26
27
. "sigs.k8s.io/structured-merge-diff/v6/internal/fixture"
27
28
"sigs.k8s.io/structured-merge-diff/v6/merge"
28
29
"sigs.k8s.io/structured-merge-diff/v6/typed"
29
30
"sigs.k8s.io/structured-merge-diff/v6/value"
30
- yaml "sigs.k8s.io/yaml/goyaml.v2"
31
31
)
32
32
33
33
func TestMultipleAppliersSet (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ package typed
19
19
import (
20
20
"fmt"
21
21
22
+ yaml "go.yaml.in/yaml/v2"
22
23
"sigs.k8s.io/structured-merge-diff/v6/schema"
23
24
"sigs.k8s.io/structured-merge-diff/v6/value"
24
- yaml "sigs.k8s.io/yaml/goyaml.v2"
25
25
)
26
26
27
27
// YAMLObject is an object encoded in YAML.
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ import (
22
22
"strings"
23
23
"testing"
24
24
25
+ yaml "go.yaml.in/yaml/v2"
25
26
"sigs.k8s.io/structured-merge-diff/v6/typed"
26
- yaml "sigs.k8s.io/yaml/goyaml.v2"
27
27
)
28
28
29
29
func testdata (file string ) string {
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ import (
21
21
"path/filepath"
22
22
"testing"
23
23
24
+ yaml "go.yaml.in/yaml/v2"
24
25
"sigs.k8s.io/structured-merge-diff/v6/value"
25
- yaml "sigs.k8s.io/yaml/goyaml.v2"
26
26
)
27
27
28
28
func testdata (file string ) string {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
25
25
jsoniter "github.com/json-iterator/go"
26
26
27
- yaml "sigs.k8s.io /yaml/goyaml. v2"
27
+ yaml "go.yaml.in /yaml/v2"
28
28
)
29
29
30
30
var (
You can’t perform that action at this time.
0 commit comments