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
1919import (
2020 "testing"
2121
22+ yaml "go.yaml.in/yaml/v2"
2223 "sigs.k8s.io/structured-merge-diff/v6/value"
23- yaml "sigs.k8s.io/yaml/goyaml.v2"
2424)
2525
2626func TestFromValue (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
2424
2525 "sigs.k8s.io/structured-merge-diff/v6/value"
2626
27+ yaml "go.yaml.in/yaml/v2"
2728 "sigs.k8s.io/structured-merge-diff/v6/schema"
28- yaml "sigs.k8s.io/yaml/goyaml.v2"
2929)
3030
3131type randomPathAlphabet []PathElement
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ module sigs.k8s.io/structured-merge-diff/v6
33require (
44 github.com/google/go-cmp v0.5.9
55 github.com/json-iterator/go v1.1.12
6+ go.yaml.in/yaml/v2 v2.4.2
67 sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016
7- sigs.k8s.io/yaml v1.4.0
88)
99
1010require (
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
1616github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
1717github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q =
1818github.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 =
1921gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
2022gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
2123sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016 h1:kXv6kKdoEtedwuqMmkqhbkgvYKeycVbC8+iPCP9j5kQ =
2224sigs.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 (
2222 "strings"
2323 "testing"
2424
25+ yaml "go.yaml.in/yaml/v2"
2526 "sigs.k8s.io/structured-merge-diff/v6/fieldpath"
2627 . "sigs.k8s.io/structured-merge-diff/v6/internal/fixture"
2728 "sigs.k8s.io/structured-merge-diff/v6/merge"
2829 "sigs.k8s.io/structured-merge-diff/v6/typed"
2930 "sigs.k8s.io/structured-merge-diff/v6/value"
30- yaml "sigs.k8s.io/yaml/goyaml.v2"
3131)
3232
3333func TestMultipleAppliersSet (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ package typed
1919import (
2020 "fmt"
2121
22+ yaml "go.yaml.in/yaml/v2"
2223 "sigs.k8s.io/structured-merge-diff/v6/schema"
2324 "sigs.k8s.io/structured-merge-diff/v6/value"
24- yaml "sigs.k8s.io/yaml/goyaml.v2"
2525)
2626
2727// YAMLObject is an object encoded in YAML.
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ import (
2222 "strings"
2323 "testing"
2424
25+ yaml "go.yaml.in/yaml/v2"
2526 "sigs.k8s.io/structured-merge-diff/v6/typed"
26- yaml "sigs.k8s.io/yaml/goyaml.v2"
2727)
2828
2929func testdata (file string ) string {
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ import (
2121 "path/filepath"
2222 "testing"
2323
24+ yaml "go.yaml.in/yaml/v2"
2425 "sigs.k8s.io/structured-merge-diff/v6/value"
25- yaml "sigs.k8s.io/yaml/goyaml.v2"
2626)
2727
2828func testdata (file string ) string {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424
2525 jsoniter "github.com/json-iterator/go"
2626
27- yaml "sigs.k8s.io /yaml/goyaml. v2"
27+ yaml "go.yaml.in /yaml/v2"
2828)
2929
3030var (
You can’t perform that action at this time.
0 commit comments