Skip to content
Snippets Groups Projects
Commit 8de8e9f4 authored by ale's avatar ale
Browse files

Test for the int-map default value

parent 05a104be
Branches
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment