Skip to content

Commit 6d23b1f

Browse files
mfikesswannodette
authored andcommitted
CLJS-2703: module name substitution test fails if hypen in directory path
1 parent b8101e6 commit 6d23b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/clojure/cljs/module_processing_tests.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
(.getAbsolutePath $)
3737
(subs $ 0 (.lastIndexOf $ (str File/separator)))
3838
(string/replace $ "/" "$")
39+
(string/replace $ "-" "_")
3940
;; Windows
4041
(string/replace $ "\\" "$")
4142
(if code?

0 commit comments

Comments
 (0)