File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 340340 (is (= (:status response) #{" no-info" " done" })
341341 (pr-str response))))
342342
343- (testing " ensure info returns a no-info packet if ns not found"
343+ (testing " info does not return a no-info packet if ns not found,
344+ but `:sym` is unqualified and resolves to a clojure.core var"
344345 (let [response (session/message {:op " info" :sym " +" :ns " fakefakefake" })]
345- (is (= (:status response) #{" no-info " " done" })
346+ (is (= (:status response) #{" done" })
346347 (pr-str response))))
347348
348349 (testing " ensure info returns a no-info packet if class not found"
361362 (is (= (:status response) #{" no-eldoc" " done" })
362363 (pr-str response))))
363364
364- (testing " ensure eldoc returns a no-eldoc packet if ns not found"
365+ (testing " eldoc does not return a no-eldoc packet if ns not found,
366+ but `:sym` is unqualified and resolves to a clojure.core var"
365367 (let [response (session/message {:op " eldoc" :sym " +" :ns " fakefakefake" })]
366- (is (= (:status response) #{" no-eldoc " " done" })
368+ (is (= (:status response) #{" done" })
367369 (pr-str response))))
368370
369371 (testing " ensure eldoc returns a no-eldoc packet if class not found"
You can’t perform that action at this time.
0 commit comments