diff --git a/expr_test.go b/expr_test.go index 516bba4..da758fc 100644 --- a/expr_test.go +++ b/expr_test.go @@ -18,7 +18,7 @@ func TestExpr(t *testing.T) { } inputs := []inputType{ - /* 1 */ {`fact=func(n){(n)?{1}::{fact(n-1)}}; fact(2)`, int64(2), nil}, + /* 1 */ {`fact=func(n){(n)?{1}::{n*fact(n-1)}}; fact(5)`, int64(120), nil}, } succeeded := 0