add vals collection + setval test, update changelog
This commit is contained in:
parent
d1e32be13b
commit
a8f48baced
2 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
* Bug fix: multi-path and if-path now work properly with value collection
|
* Bug fix: multi-path and if-path now work properly with value collection
|
||||||
* Bug fix: END, BEGINNING, FIRST, LAST, and MAP-VALS now work properly on nil
|
* Bug fix: END, BEGINNING, FIRST, LAST, and MAP-VALS now work properly on nil
|
||||||
* Bug fix: ALL and MAP-VALS now maintain the comparator of sorted maps
|
* Bug fix: ALL and MAP-VALS now maintain the comparator of sorted maps
|
||||||
|
* Bug fix: Using value collection along with `setval` no longer throws exception
|
||||||
|
|
||||||
## 0.11.2
|
## 0.11.2
|
||||||
* Renamed com.rpl.specter.transient namespace to com.rpl.specter.transients to eliminate ClojureScript compiler warning about reserved keyword
|
* Renamed com.rpl.specter.transient namespace to com.rpl.specter.transients to eliminate ClojureScript compiler warning about reserved keyword
|
||||||
|
|
|
||||||
|
|
@ -1301,3 +1301,6 @@
|
||||||
(is (= [3 2 1] (keys (transform s/MAP-VALS inc amap))))
|
(is (= [3 2 1] (keys (transform s/MAP-VALS inc amap))))
|
||||||
(is (= [3 2 1] (keys (transform [s/ALL s/LAST] inc amap))))
|
(is (= [3 2 1] (keys (transform [s/ALL s/LAST] inc amap))))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
(deftest setval-vals-collection-test
|
||||||
|
(is (= 2 (setval s/VAL 2 :a))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue