Browse files

potion-test.c: Fixed 'potion_eval' test.

  • Loading branch information...
1 parent a26fbfc commit 690ce7a62a1619a000c091bf5b1a41920f1c1655 @orangea orangea committed Dec 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/api/potion-test.c
View
2 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",

0 comments on commit 690ce7a

Please sign in to comment.