Expected test failures and unexpected passes
[jscl.git] / tests / conditionals.lisp
index 693fbba..19736e1 100644 (file)
@@ -9,6 +9,9 @@
 ; COND
 (test (eql nil (cond)))
 (test (=   1   (cond (1))))
+(test (= 1
+         (let ((x 0))
+           (cond ((incf x))))))
 (test (=   2   (cond (1 2))))
 (test (=   3   (cond (nil 1) (2 3))))
 (test (eql nil (cond (nil 1) (nil 2))))