Skip to content

Commit

Permalink
* missing assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Nov 17, 2024
1 parent 5219786 commit e888fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/clojure/cljs/analyzer/spec_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"))))]
Expand Down

0 comments on commit e888fae

Please sign in to comment.