X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fseq.pure.lisp;h=7eac06886fe8415d28bc963ffff4d4d72242c45d;hb=0e03a9ac950b78d776c4869c809e202d9e929f39;hp=a0897be555b2154d0723afda2c6ac02892551561;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/tests/seq.pure.lisp b/tests/seq.pure.lisp index a0897be..7eac068 100644 --- a/tests/seq.pure.lisp +++ b/tests/seq.pure.lisp @@ -169,7 +169,7 @@ (assert s2) (assert (string= s2 "zzzzz"))) -;;; POSITION on dispaced arrays with non-zero offset has been broken +;;; POSITION on displaced arrays with non-zero offset has been broken ;;; for quite a while... (let ((fn (compile nil '(lambda (x) (position x))))) (let* ((x #(1 2 3)) @@ -180,7 +180,7 @@ (let ((a (make-sequence '(simple-string) 5)) (b (concatenate '(simple-string) "a" "bdec")) (c (map '(simple-string) 'identity "abcde")) - (d (merge '(simple-string) "acd" "be" 'char>)) + (d (merge '(simple-string) (copy-seq "acd") (copy-seq "be") 'char>)) (e (coerce '(#\a #\b #\c #\e #\d) '(simple-string)))) (assert (= (length a) 5)) (assert (string= b "abdec"))