Skip to content

Commit e888fae

Browse files
committed
* missing assertion
1 parent 5219786 commit e888fae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/clojure/cljs/analyzer/spec_tests.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@
218218
(deftest test-the-var
219219
(let [node (comp-api/with-core-cljs {}
220220
#(analyze ns-env '(var first)))]
221-
(is (= :the-var (:op node)))))
221+
(is (= :the-var (:op node)))
222+
(is (s/valid? ::a/node node))))
222223

223224
(deftest test-throw
224225
(let [node (no-warn (analyze ns-env '(throw (js/Error. "foo"))))]

0 commit comments

Comments
 (0)