Skip to content

Commit

Permalink
apply gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Dec 22, 2024
1 parent 0124c1d commit 4875a7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ merge:
<<: [*a, *b]
`,
map[string]map[string]any{
"a": map[string]any{"foo": 1},
"b": map[string]any{"bar": 2},
"merge": map[string]any{"foo": 1, "bar": 2},
"a": {"foo": 1},
"b": {"bar": 2},
"merge": {"foo": 1, "bar": 2},
},
},
{
Expand All @@ -624,9 +624,9 @@ merge:
<<: [*a, *b]
`,
map[string]yaml.MapSlice{
"a": yaml.MapSlice{{Key: "foo", Value: 1}},
"b": yaml.MapSlice{{Key: "bar", Value: 2}},
"merge": yaml.MapSlice{{Key: "foo", Value: 1}, {Key: "bar", Value: 2}},
"a": {{Key: "foo", Value: 1}},
"b": {{Key: "bar", Value: 2}},
"merge": {{Key: "foo", Value: 1}, {Key: "bar", Value: 2}},
},
},

Expand Down

0 comments on commit 4875a7f

Please sign in to comment.