Commit 8de8e9f4 authored by ale's avatar ale
Browse files

Test for the int-map default value

parent 05a104be
......@@ -40,7 +40,7 @@ func runTestScript(t *testing.T, src string, expected float64, extSrcs map[strin
func TestScript_WithLookup(t *testing.T) {
runTestScript(t, `
score = counts["test"] / 2 + counts["test2"]
score = counts["test"] / 2 + counts["test2"] + counts["test3"]
//score = 7
`, 7, nil)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment