added new failing test bug/collect-at-beginning, as reported by Paul Sexton
Tue Dec 18 06:42:20 PST 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 2014-07-28 23:46:31.000000000 -0700
+++ new-iterate/iterate-test.lisp 2014-07-28 23:46:31.000000000 -0700
@@ -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