Add few merge-props test cases

This commit is contained in:
Juho Teperi 2020-03-22 13:10:36 +02:00
parent 432db00846
commit 2339b2a01d
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@
(util/merge-props {:class "foo bar"}
{:class ["baz" "quux"]})
(util/merge-props nil {:class ["foo" "bar" "baz" "quux"]})
(util/merge-props {:class ["foo" "bar" "baz" "quux"]})))))
(util/merge-props {:class ["foo" "bar" "baz" "quux"]} nil)
(util/merge-props {:class ["foo" "bar" "baz" "quux"]})
(util/merge-props {:class "foo bar"} {:class ["baz"]} {:class ["quux"]})))))
(deftest partial-fn-test
(is (= (util/make-partial-fn println ["a"])