From 2c92f31fb8e6e4d6cd6d9c794abdbbc90c4b17b9 Mon Sep 17 00:00:00 2001 From: davidnolen Date: Fri, 15 Nov 2024 07:44:32 -0500 Subject: [PATCH] * :binding --- src/test/clojure/cljs/analyzer/spec_tests.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/clojure/cljs/analyzer/spec_tests.clj b/src/test/clojure/cljs/analyzer/spec_tests.clj index 991a81db8..4947a1860 100644 --- a/src/test/clojure/cljs/analyzer/spec_tests.clj +++ b/src/test/clojure/cljs/analyzer/spec_tests.clj @@ -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))))