File tree 3 files changed +7
-0
lines changed 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 2
2
Given I have a project "cljr" in "tmp"
3
3
And I have a clojure-file "tmp/src/cljr/core.cljc"
4
4
And I open file "tmp/src/cljr/core.cljc"
5
+ And the `cljr-slash-uses-suggest-libspec' flag is disabled
5
6
And I clear the buffer
6
7
7
8
Scenario : Does the right thing when facing clj reader conditionals
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Feature: Magic requires
4
4
Given I have a project "cljr" in "tmp"
5
5
And I have a clojure-file "tmp/src/cljr/core.clj"
6
6
And I open file "tmp/src/cljr/core.clj"
7
+ And the `cljr-slash-uses-suggest-libspec' flag is disabled
7
8
And I clear the buffer
8
9
9
10
Scenario : Require is inserted automagically
Original file line number Diff line number Diff line change 408
408
(cljr--change-function-signature (list (cljr--plist-to-hash (cl-second cljr--test-occurrences)))
409
409
cljr--baz-renamed-to-qux))))
410
410
411
+ ; ; TODO: deprecate dependent tests after `cljr-slash-uses-suggest-libspec' is the only path.
412
+ (Given " The `cljr-slash-uses-suggest-libspec' flag is disabled"
413
+ (lambda ()
414
+ (setq-local cljr-slash-uses-suggest-libspec nil )))
415
+
411
416
(Given " The cache of namespace aliases is populated"
412
417
(lambda ()
413
418
(defun cljr--call-middleware-for-namespace-aliases ()
You can’t perform that action at this time.
0 commit comments