From: Attila Lendvai Date: Sat, 2 Sep 2006 11:50:23 +0000 (+0200) Subject: Rebind a copy of *readtable* before running a test X-Git-Url: http://repo.macrolet.net/gitweb/?p=fiveam.git;a=commitdiff_plain;h=2986cb838a3fe91733163fef1113665c667f39d7 Rebind a copy of *readtable* before running a test --- diff --git a/src/run.lisp b/src/run.lisp index fb78175..59e6455 100644 --- a/src/run.lisp +++ b/src/run.lisp @@ -147,7 +147,8 @@ run.")) (abort-test e) (return-from run-it result-list))))) (restart-case - (funcall (test-lambda test)) + (let ((*readtable* (copy-readtable))) + (funcall (test-lambda test))) (retest () :report (lambda (stream) (format stream "~@" test))