Skip to content

Commit

Permalink
Add a test for issue metosin#775
Browse files Browse the repository at this point in the history
  • Loading branch information
cap10morgan committed Apr 12, 2023
1 parent d7bc0d5 commit 3e822b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/malli/error_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,13 @@
(-> (m/explain [:map [:user [:multi {:dispatch :type}]]] {:user nil})
(me/humanize)))))

(deftest push-assoc-keyword-on-vector-775
(let [x []
k :rong
v ["should be :wrong"]
fill nil]
(is (= [["should be :wrong"]] (me/-push x k v fill)))))

(deftest in-error-test
(let [Address [:map {:closed true}
[:id :string]
Expand Down

0 comments on commit 3e822b4

Please sign in to comment.