Skip to content

Commit

Permalink
* :binding
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Nov 15, 2024
1 parent fb836ea commit 2c92f31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/clojure/cljs/analyzer/spec_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
[clojure.test :as test :refer [deftest is]]
[clojure.spec.alpha :as s]))

;; binding

(deftest test-case
(let [node (no-warn (analyze ns-env '(case x 1 :foo 2 :bar)))]
(is (s/valid? ::a/node node))))
Expand Down

0 comments on commit 2c92f31

Please sign in to comment.