X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Flist.pure.lisp;h=7ccdf3c1d2a757062f29c4fa583b7c30bd415f36;hb=062283b901155792f65775491aea51481c56faaa;hp=431275b279d1bbd4361f3d8526972355359fdfd5;hpb=3c54829dd2c9c654433ef469b320a6e9ff098177;p=sbcl.git diff --git a/tests/list.pure.lisp b/tests/list.pure.lisp index 431275b..7ccdf3c 100644 --- a/tests/list.pure.lisp +++ b/tests/list.pure.lisp @@ -373,3 +373,7 @@ ;;; FIND on lists should not call key outside the specified subsquence. (assert (not (find :a '(0 (:c) 1) :start 1 :end 2 :key #'car))) + +(with-test (:name :adjoin-folding) + (flet ((%f () (adjoin 'x '(a b)))) + (assert (not (eq (%f) (%f))))))