projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.13.53: Minor changes to SB-COVER, SB-MD5 tests for Win32
[sbcl.git]
/
tests
/
list.pure.lisp
diff --git
a/tests/list.pure.lisp
b/tests/list.pure.lisp
index
afc5c6b
..
702b89e
100644
(file)
--- a/
tests/list.pure.lisp
+++ b/
tests/list.pure.lisp
@@
-229,3
+229,10
@@
:b '((:a . 1) (:b . 2))))))
(assert (equal '(3 4 5) (funcall (compile nil '(lambda (i l) (member i l)))
3 '(1 2 3 4 5)))))
:b '((:a . 1) (:b . 2))))))
(assert (equal '(3 4 5) (funcall (compile nil '(lambda (i l) (member i l)))
3 '(1 2 3 4 5)))))
+
+;;; bad bounding index pair to SUBSEQ on a list
+(let ((list (list 0 1 2 3 4 5)))
+ (multiple-value-bind (res err) (ignore-errors (subseq list 4 2))
+ (assert (not res))
+ (assert (typep err 'sb-kernel:bounding-indices-bad-error))))
+