From 8de8e9f4ee8603cecb09e6ccdf7450c4f02384fd Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Mon, 19 Apr 2021 22:16:47 +0100
Subject: [PATCH] Test for the int-map default value

---
 script/script_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/script_test.go b/script/script_test.go
index a248f5a..8c73b43 100644
--- a/script/script_test.go
+++ b/script/script_test.go
@@ -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)
 }
-- 
GitLab