File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -129,14 +129,11 @@ buffer."
129
129
(with-clojure-buffer " :abc/foo"
130
130
(expect (cider-symbol-at-point) :to-equal " :abc/foo" )))
131
131
132
- (it " attempts to resolve namespaced keywords"
133
- (spy-on 'cider-connected-p :and-return-value t )
134
- (spy-on 'cider-sync-tooling-eval :and-return-value '(dict " value" " :foo.bar/abc" ))
132
+ (it " does not attempt to resolve namespaced keywords"
135
133
(with-clojure-buffer " (ns foo.bar) ::abc"
136
- (expect (cider-symbol-at-point) :to-equal " :foo.bar/abc" ))
137
- (spy-on 'cider-sync-tooling-eval :and-return-value '(dict " value" " :clojure.string/abc" ))
134
+ (expect (cider-symbol-at-point) :to-equal " ::abc" ))
138
135
(with-clojure-buffer " (ns foo.bar (:require [clojure.string :as str])) ::str/abc"
139
- (expect (cider-symbol-at-point) :to-equal " :clojure.string /abc" ))))
136
+ (expect (cider-symbol-at-point) :to-equal " ::str /abc" ))))
140
137
141
138
(describe " when there's nothing at point"
142
139
(it " returns nil"
You can’t perform that action at this time.
0 commit comments