From 05d2c32b38261b7ffdf2f50ac222d1d24f841c11 Mon Sep 17 00:00:00 2001 From: tijani Date: Fri, 26 Aug 2022 19:01:31 +0000 Subject: [PATCH] Formatting. Monk also supports first-class functions git-svn-id: https://svn.tlawal.org/svn/monkey@55 f6afcba9-9ef1-4bdd-9b72-7484f5705bac --- evaluator/evaluator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluator/evaluator_test.go b/evaluator/evaluator_test.go index a34568f..b8bf267 100644 --- a/evaluator/evaluator_test.go +++ b/evaluator/evaluator_test.go @@ -220,7 +220,7 @@ func TestFunctionApplication(l_test *testing.T) { {"let add = fn(x, y) { x + y; }; add(5 + 5, add(5, 5));", 20}, {"fn(x) { x; }(5)", 5}, } - + for _, tt := range tests { test_integer_object(l_test, test_eval(tt.input), tt.expected) }