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 340
340
(is (= (:status response) #{" no-info" " done" })
341
341
(pr-str response))))
342
342
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"
344
345
(let [response (session/message {:op " info" :sym " +" :ns " fakefakefake" })]
345
- (is (= (:status response) #{" no-info " " done" })
346
+ (is (= (:status response) #{" done" })
346
347
(pr-str response))))
347
348
348
349
(testing " ensure info returns a no-info packet if class not found"
361
362
(is (= (:status response) #{" no-eldoc" " done" })
362
363
(pr-str response))))
363
364
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"
365
367
(let [response (session/message {:op " eldoc" :sym " +" :ns " fakefakefake" })]
366
- (is (= (:status response) #{" no-eldoc " " done" })
368
+ (is (= (:status response) #{" done" })
367
369
(pr-str response))))
368
370
369
371
(testing " ensure eldoc returns a no-eldoc packet if class not found"
You can’t perform that action at this time.
0 commit comments