Fix tests for new error handling system

This commit is contained in:
Elara 2023-12-18 09:21:44 -08:00
parent a465be6cf8
commit da0b1ebb52
1 changed files with 3 additions and 3 deletions

View File

@ -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)
}
}