This commit is contained in:
Mike Farah
2021-07-07 14:29:24 +10:00
parent f285a684ec
commit d1b6a6fdd9
3 changed files with 22 additions and 2 deletions
+14
View File
@@ -47,6 +47,20 @@ var multiplyOperatorScenarios = []expressionScenario{
docExpected,
},
},
{
skipDoc: true,
expression: `.x = {"things": "whatever"} * {}`,
expected: []string{
"D0, P[], ()::x:\n things: whatever\n",
},
},
{
skipDoc: true,
expression: `.x = {} * {"things": "whatever"}`,
expected: []string{
"D0, P[], ()::x:\n things: whatever\n",
},
},
{
skipDoc: true,
expression: `3 * 4.5`,