Fix tests for new error handling system
This commit is contained in:
parent
a465be6cf8
commit
da0b1ebb52
@ -150,9 +150,9 @@ func TestIndex(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestFuncCall(t *testing.T) {
|
func TestFuncCall(t *testing.T) {
|
||||||
res := execStr(t, `#(len(3.0))`, nil)
|
res := execStr(t, `#(toUpper("hello"))`, nil)
|
||||||
if res != "-1" {
|
if res != "HELLO" {
|
||||||
t.Errorf("Expected %q, got %q", "-1", res)
|
t.Errorf("Expected %q, got %q", "HELLO", res)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user