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 7b1e9a2 commit d39d5d5Copy full SHA for d39d5d5
clojure-mode-refactor-rename-ns-alias-test.el
@@ -43,6 +43,23 @@
43
(+ (foo/a 1) (b 2))"
44
45
(clojure--rename-ns-alias-internal "lib" "foo"))
46
+ (when-refactoring-it "should handle multiple aliases with common prefixes"
47
+
48
+ "(ns foo
49
+ (:require [clojure.string :as string]
50
+ [clojure.spec.alpha :as s]
51
+ [clojure.java.shell :as shell]))
52
53
+(s/def ::abc string/blank?)
54
+"
55
56
57
+ [clojure.spec.alpha :as spec]
58
59
60
+(spec/def ::abc string/blank?)
61
62
+ (clojure--rename-ns-alias-internal "s" "spec"))
63
64
(when-refactoring-it "should handle ns declarations with missing as"
65
"(ns cljr.core
0 commit comments