Skip to content

Commit cfe699d

Browse files
committed
Fix parsing of foo//
Fixes #357
1 parent fc3340d commit cfe699d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cljfmt/project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[org.clojure/tools.cli "1.1.230"]
99
[org.clojure/tools.reader "1.5.0"]
1010
[com.googlecode.java-diff-utils/diffutils "1.3.0"]
11-
[rewrite-clj "1.1.48"]]
11+
[rewrite-clj "1.1.49"]]
1212
:plugins [[lein-cljsbuild "1.1.7"]
1313
[io.taylorwood/lein-native-image "0.3.1"]]
1414
:hooks [leiningen.cljsbuild]

cljfmt/test/cljfmt/core_test.cljc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,6 +1473,9 @@
14731473
(is (reformats-to?
14741474
["::foo/bar"]
14751475
["::foo/bar"]))
1476+
(is (reformats-to?
1477+
["foo//"]
1478+
["foo//"]))
14761479
(is (reformats-to?
14771480
["foo:bar"]
14781481
["foo:bar"])

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
org.clojure/tools.cli {:mvn/version "1.0.214"}
66
org.clojure/tools.reader {:mvn/version "1.3.6"}
77
com.googlecode.java-diff-utils/diffutils {:mvn/version "1.3.0"}
8-
rewrite-clj/rewrite-clj {:mvn/version "1.1.45"}}}
8+
rewrite-clj/rewrite-clj {:mvn/version "1.1.49"}}}

0 commit comments

Comments
 (0)