Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-km committed Feb 5, 2022
1 parent 1bfe46a commit aaa08b8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/conditions.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@
(+ 1 2))))



;;; ASSERT case
(test
(equal '(t nil t nil)
(list
(not (assert (= 1 1)))
(trap-errors (assert (= 1 2)))
(not (assert (typep 1 'integer)))
(trap-errors (assert (typep 1 'list))))))


;;; EOF

0 comments on commit aaa08b8

Please sign in to comment.