From da0b1ebb52907735675ce40523a9c904ef8481df Mon Sep 17 00:00:00 2001 From: Elara6331 Date: Mon, 18 Dec 2023 09:21:44 -0800 Subject: [PATCH] Fix tests for new error handling system --- expr_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/expr_test.go b/expr_test.go index c93a216..6b276d8 100644 --- a/expr_test.go +++ b/expr_test.go @@ -150,9 +150,9 @@ func TestIndex(t *testing.T) { } func TestFuncCall(t *testing.T) { - res := execStr(t, `#(len(3.0))`, nil) - if res != "-1" { - t.Errorf("Expected %q, got %q", "-1", res) + res := execStr(t, `#(toUpper("hello"))`, nil) + if res != "HELLO" { + t.Errorf("Expected %q, got %q", "HELLO", res) } }