added new failing test bug/collect-at-beginning, as reported by Paul Sexton
Tue Dec 18 14:42:20 UTC 2012 attila.lendvai@gmail.com
* added new failing test bug/collect-at-beginning, as reported by Paul Sexton
diff -rN -u old-iterate/iterate-test.lisp new-iterate/iterate-test.lisp
--- old-iterate/iterate-test.lisp 2015-08-29 19:01:51.042416646 +0000
+++ new-iterate/iterate-test.lisp 2015-08-29 19:01:51.054416587 +0000
@@ -1753,6 +1753,14 @@
(foo))))
1)
+(deftest bug/collect-at-beginning
+ (iterate
+ (for i from 1 to 10)
+ (if (oddp i)
+ (collect i :at :beginning)
+ (collect i)))
+ (9 7 5 3 1 2 4 6 8 10))
+
;; Hashtable iterators are specified to be defined as macrolets.
;; But we handle these by special-casing with-hash-table/package-iterator
(deftest nested-hashtable.1