X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Feval.impure.lisp;h=9dfbc14bcf3431f9678a5d5ac40afe6791d1f563;hb=3da4a7fbba3015abf8572946dc4481dc2980b943;hp=3f0ca03726b72efa7ab30f1317edd8c7d03af52a;hpb=dfe6138af5c38d92568b6dac48e852c01be0ec8e;p=sbcl.git diff --git a/tests/eval.impure.lisp b/tests/eval.impure.lisp index 3f0ca03..9dfbc14 100644 --- a/tests/eval.impure.lisp +++ b/tests/eval.impure.lisp @@ -6,7 +6,7 @@ ;;;; While most of SBCL is derived from the CMU CL system, the test ;;;; files (like this one) were written from scratch after the fork ;;;; from CMU CL. -;;;; +;;;; ;;;; This software is in the public domain and is provided with ;;;; absolutely no warranty. See the COPYING and CREDITS files for ;;;; more information. @@ -131,5 +131,9 @@ (assert (eq (eval '(function function-eq-test)) (funcall (compile nil '(lambda () (function function-eq-test)))))) +;;; No extra output, please +(assert (equal ".." + (with-output-to-string (*standard-output*) + (eval '(progn (princ ".") (let ((x 42)) t) (princ ".")))))) + ;;; success -(sb-ext:quit :unix-status 104)