We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece7889 commit 3edc678Copy full SHA for 3edc678
clj-refactor.el
@@ -1079,7 +1079,7 @@ If CLJS? is T we insert in the cljs part of the ns declaration."
1079
1080
Two checks are made - whether the namespace of the file has the
1081
word test in it and whether the file lives under the test/ directory."
1082
- (or (string-match-p "test\." (clojure-find-ns))
+ (or (string-match-p "\\btest\\b" (clojure-find-ns))
1083
(string-match-p "/test" (buffer-file-name))))
1084
1085
(defun cljr--clojure-ish-filename-p (file-name)
0 commit comments