From e888faed4b1ddaa4c515fe963c3319b064fc30ea Mon Sep 17 00:00:00 2001 From: davidnolen Date: Sun, 17 Nov 2024 15:20:50 -0500 Subject: [PATCH] * missing assertion --- src/test/clojure/cljs/analyzer/spec_tests.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/clojure/cljs/analyzer/spec_tests.clj b/src/test/clojure/cljs/analyzer/spec_tests.clj index 5f4c33da9..62204dca2 100644 --- a/src/test/clojure/cljs/analyzer/spec_tests.clj +++ b/src/test/clojure/cljs/analyzer/spec_tests.clj @@ -218,7 +218,8 @@ (deftest test-the-var (let [node (comp-api/with-core-cljs {} #(analyze ns-env '(var first)))] - (is (= :the-var (:op node))))) + (is (= :the-var (:op node))) + (is (s/valid? ::a/node node)))) (deftest test-throw (let [node (no-warn (analyze ns-env '(throw (js/Error. "foo"))))]