Added another test

This commit is contained in:
Mike Farah 2021-11-30 13:22:18 +11:00
parent feb97c9872
commit 1c50ae4e6a

View File

@ -54,6 +54,16 @@ var collectObjectOperatorScenarios = []expressionScenario{
"D0, P[], (!!map)::wrap: {name: Mike}\n",
},
},
{
skipDoc: true,
document: "{name: Mike}\n",
document2: "{name: Bob}\n",
expression: `{"wrap": .}`,
expected: []string{
"D0, P[], (!!map)::wrap: {name: Mike}\n",
"D0, P[], (!!map)::wrap: {name: Bob}\n",
},
},
{
skipDoc: true,
document: "{name: Mike}\n---\n{name: Bob}",