Fix divide test typo

This commit is contained in:
TJ Miller 2023-03-09 15:04:09 -08:00
parent 0715486576
commit 0b951fb6a4

View File

@ -69,9 +69,9 @@ var divideOperatorScenarios = []expressionScenario{
skipDoc: true, skipDoc: true,
description: "Custom types: that are really ints", description: "Custom types: that are really ints",
document: "a: !horse 2\nb: !goat 3", document: "a: !horse 2\nb: !goat 3",
expression: `.a += .b`, expression: `.a = .a / .b`,
expected: []string{ expected: []string{
"D0, P[], (doc)::a: !horse 5\nb: !goat 3\n", "D0, P[], (doc)::a: !horse 0.6666666666666666\nb: !goat 3\n",
}, },
}, },
{ {