X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=74c91dbc636398b0b857a5c925017ef75b292cfa;hb=df679ed627975948b1cee190f4d79c397588c43e;hp=c8f2de6a06736381379eba7509a78c3eb2d14adb;hpb=167783bfb18752b93ab76993a39bc5161a73448a;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index c8f2de6..74c91db 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -75,16 +75,16 @@ ;;; another LET-related bug fixed by Alexey Dejneka at the same ;;; time as bug 112 -(multiple-value-bind (value error) - (ignore-errors - ;; should complain about duplicate variable names in LET binding - (compile nil - '(lambda () - (let (x - (x 1)) - (list x))))) - (assert (null value)) - (assert (typep error 'error))) +(multiple-value-bind (fun warnings-p failure-p) + ;; should complain about duplicate variable names in LET binding + (compile nil + '(lambda () + (let (x + (x 1)) + (list x)))) + (declare (ignore warnings-p)) + (assert (functionp fun)) + (assert failure-p)) ;;; bug 169 (reported by Alexey Dejneka 2002-05-12, fixed by David ;;; Lichteblau 2002-05-21)