We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91741c8 commit 7c43dd9Copy full SHA for 7c43dd9
1 file changed
test/clojure/core_test/eval.cljc
@@ -33,6 +33,10 @@
33
(is (fn? (eval +)))
34
(is (fn? (eval '+))))
35
36
+ (testing "Vars"
37
+ ;; eval'ing a var gets the value of the var
38
+ (is (fn? (eval '(var +)))))
39
+
40
(testing "Symbol resolution"
41
;; namespace qualified
42
(is (= 42 (eval 'clojure.core-test.eval/x))))
0 commit comments