Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 690ce7a62a1619a000c091bf5b1a41920f1c1655 1 parent a26fbfc
Adrian orangea authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/api/potion-test.c
2  test/api/potion-test.c
View
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.