Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.2
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
There are a couple of bugs in the tests defined in clojure.test-clojure.vectors:
1. There are two definitions of test-vec (from different patches), so the second overrides the first.
2. The rand-replace function for the compare tests should use (rand-int 99) instead of (rand-int 100). Currently, if 99 is chosen, it will append to the end of the sequence instead of replacing the last element.
Converted from http://www.assembla.com/spaces/clojure/tickets/341
Attachments:
341-vec-tests.patch - https://www.assembla.com/spaces/clojure/documents/cXxBGuwl0r35ypeJe5cbLr/download/cXxBGuwl0r35ypeJe5cbLr