We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5219786 commit e888faeCopy full SHA for e888fae
src/test/clojure/cljs/analyzer/spec_tests.clj
@@ -218,7 +218,8 @@
218
(deftest test-the-var
219
(let [node (comp-api/with-core-cljs {}
220
#(analyze ns-env '(var first)))]
221
- (is (= :the-var (:op node)))))
+ (is (= :the-var (:op node)))
222
+ (is (s/valid? ::a/node node))))
223
224
(deftest test-throw
225
(let [node (no-warn (analyze ns-env '(throw (js/Error. "foo"))))]
0 commit comments