Skip to content

Commit

Permalink
potion-test.c: Fixed 'potion_eval' test.
Browse files Browse the repository at this point in the history
  • Loading branch information
orangea committed Dec 23, 2010
1 parent a26fbfc commit 690ce7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/potion-test.c
Expand Up @@ -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",
Expand Down

0 comments on commit 690ce7a

Please sign in to comment.