aboutsummaryrefslogtreecommitdiff
path: root/evaluator/evaluator_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-05-20 16:40:09 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-05-20 16:40:09 +0200
commit0f68aa988b588c6bb5d68d592922dd0839768524 (patch)
tree8bdab0c3e61a8cb9bd68f1ae31a471fe98936353 /evaluator/evaluator_test.go
parent523f40968b9c1a23da1f4a1c2f125197d7611fef (diff)
Fix push test
Diffstat (limited to 'evaluator/evaluator_test.go')
-rw-r--r--evaluator/evaluator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/evaluator/evaluator_test.go b/evaluator/evaluator_test.go
index 932b07f..2304e6f 100644
--- a/evaluator/evaluator_test.go
+++ b/evaluator/evaluator_test.go
@@ -378,7 +378,7 @@ func TestBuiltinFunctions(t *testing.T) {
{`rest([1, 2, 3])`, []int{2, 3}},
{`rest([])`, nil},
{`push([], 1)`, []int{1}},
- {`push(1)`, "argument to `push` must be ARRAY, got INTEGER"},
+ {`push(1, 1)`, "argument to `push` must be ARRAY, got INTEGER"},
}
for _, tt := range tests {