Skip to content

Commit

Permalink
added test for vetted fn in thread macro
Browse files Browse the repository at this point in the history
  • Loading branch information
onionpancakes committed Feb 20, 2024
1 parent 685084c commit 1a4e615
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/dev/onionpancakes/chassis/tests/test_compiler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
(cc/compile [:div (select-keys {} [:foo]) "foobar"])
(cc/compile [:div (update-keys {} identity) "foobar"])
(cc/compile [:div (update-vals {} identity) "foobar"])
;; In threaded macro
(cc/compile [:div (-> {}
(assoc :foo "bar"))
"foobar"])
;; LocalBinded attrs literals
(let [attrs nil]
(cc/compile [:div attrs "foobar"]))
Expand Down

0 comments on commit 1a4e615

Please sign in to comment.