Skip to content

Commit

Permalink
Fix info tests for special forms (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
r0man authored Jun 26, 2023
1 parent 4ff906c commit cff4531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/clj/cider/nrepl/middleware/info_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,13 @@
(is (= (:status response) #{"done"})
(pr-str response))
(is (= (:eldoc response) [["try" "expr*" "catch-clause*" "finally-clause?"]]))
(is (= (:type response) "function"))))
(is (= (:type response) "special-form"))))

(testing "clojure dot operator"
(let [response (session/message {:op "eldoc" :sym "." :ns "user"})]
(is (= (:status response) #{"done"})
(pr-str response))
(is (= (:type response) "function"))))
(is (= (:type response) "special-form"))))

(testing "clojure variable"
(let [response (session/message {:op "eldoc" :sym "some-test-var" :ns "cider.test-ns.first-test-ns"})]
Expand Down

0 comments on commit cff4531

Please sign in to comment.