This commit is contained in:
Mike Farah
2022-01-14 14:55:25 +11:00
parent 2d7c63e4e4
commit 84ddf1862f
2 changed files with 20 additions and 4 deletions
+8
View File
@@ -13,6 +13,14 @@ var unionOperatorScenarios = []expressionScenario{
"D0, P[], (doc)::{}\n",
},
},
{
skipDoc: true,
description: "clone test",
expression: `"abc" as $a | [$a, "cat"]`,
expected: []string{
"D0, P[], (!!seq)::- abc\n- cat\n",
},
},
{
skipDoc: true,
expression: `(.foo = "bar"), (.toe = "jam")`,