X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Flist.pure.lisp;h=0340d850bb976ddaa407e7814b1d85540c9c47bf;hb=2f7e7231ad6128af80102fa2031f483e00e7a2bc;hp=d9b06b269bdf677a749afb6887675dc8b1c6f9c6;hpb=1db4f16ef02f5b4d699d78541edb19ad8f3defc8;p=sbcl.git diff --git a/tests/list.pure.lisp b/tests/list.pure.lisp index d9b06b2..0340d85 100644 --- a/tests/list.pure.lisp +++ b/tests/list.pure.lisp @@ -370,3 +370,5 @@ (test '((42)) '((42)) '((42)) :key #'car) (test '((42)) '((42)) '((42)) :key #'car :test-not #'<)) +;;; FIND on lists should not call key outside the specified subsquence. +(assert (not (find :a '(0 (:c) 1) :start 1 :end 2 :key #'car)))