Skip to content

Commit

Permalink
chore: More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wwared committed Sep 13, 2024
1 parent 3e7d7c4 commit 3741213
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lurk/eval_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ test!(test_app_err, "(a)", |_| ZPtr::err(EvalErr::UnboundVar));
test!(test_app_err2, "((lambda () a) 2)", |_| ZPtr::err(
EvalErr::UnboundVar
));
test!(test_app_err3, "(apply (lambda (x) x) 1)", |_| ZPtr::err(
EvalErr::ParamsNotList
));

// builtins
test!(test_if, "(if 1 1 0)", |_| uint(1));
Expand Down

0 comments on commit 3741213

Please sign in to comment.