♻️ Improve the asserts framework

This commit is contained in:
Andrey Antukh 2022-07-07 12:27:31 +02:00
parent c02e8ff883
commit 98190ed92d
2 changed files with 88 additions and 61 deletions

View file

@ -111,11 +111,11 @@
;; --- Helper Functions
(defn ^boolean check-browser? [candidate]
(us/verify ::browser candidate)
(us/verify! ::browser candidate)
(= candidate @browser))
(defn ^boolean check-platform? [candidate]
(us/verify ::platform candidate)
(us/verify! ::platform candidate)
(= candidate @platform))
(defn resolve-profile-photo-url