From 690ce7a62a1619a000c091bf5b1a41920f1c1655 Mon Sep 17 00:00:00 2001 From: orangea Date: Thu, 23 Dec 2010 13:22:27 -0800 Subject: [PATCH] potion-test.c: Fixed 'potion_eval' test. --- test/api/potion-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/potion-test.c b/test/api/potion-test.c index e34411ae..5307cdd4 100644 --- a/test/api/potion-test.c +++ b/test/api/potion-test.c @@ -96,7 +96,7 @@ void potion_test_sig(CuTest *T) { } void potion_test_eval(CuTest *T) { - PN add = potion_eval(P, potion_str(P, "(x, y): x + y.")); + PN add = potion_eval(P, potion_str(P, "(x, y): x + y."), POTION_JIT); PN_F addfn = PN_CLOSURE_F(add); PN num = addfn(P, add, 0, PN_NUM(3), PN_NUM(5)); CuAssertIntEquals(T, "calling closure as c func failed",