Change some verify to asserts

This commit is contained in:
alonso.torres 2021-04-28 17:27:43 +02:00 committed by Andrés Moya
parent ac27d35ff5
commit 0b6c2df5b6
3 changed files with 13 additions and 10 deletions

View file

@ -31,7 +31,7 @@
;; When verify? false we spec the schema validation. Currently used to make just
;; 1 validation even if the changes are applied twice
(when verify?
(us/verify ::spec/changes items))
(us/assert ::spec/changes items))
(let [pages (into #{} (map :page-id) items)
result (->> items