mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-01 09:51:40 +00:00
Add note
This commit is contained in:
parent
a5b8ef6cb1
commit
b7aa711d94
@ -106,6 +106,7 @@ var fixedAnchorOperatorScenarios = []expressionScenario{
|
||||
document: `{a: 1, a: 2}`,
|
||||
expression: `explode(.)`,
|
||||
expected: []string{
|
||||
// {a: 2} would also be fine
|
||||
"D0, P[], (!!map)::{a: 1, a: 2}\n",
|
||||
},
|
||||
},
|
||||
@ -433,6 +434,7 @@ var anchorOperatorScenarios = []expressionScenario{
|
||||
document: `{a: 1, a: 2}`,
|
||||
expression: `explode(.)`,
|
||||
expected: []string{
|
||||
// {a: 2} would also be fine
|
||||
"D0, P[], (!!map)::{a: 1, a: 2}\n",
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user