Skip to content

Commit 289352d

Browse files
committedMar 9, 2024·
More indent test cases
1 parent 0b388ae commit 289352d

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed
 

‎clj/resources/indent-test-cases/comments/in.clj

+6
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99
{:foo {:bar 1} ; Default.
1010
;; Foo bar! {
1111
:biz {:as 123, :asdf #{1 2 3}}}
12+
13+
(comment
14+
{:foo {:bar 1} ; Default.
15+
;; Foo bar! {
16+
:biz {:as 123, :asdf #{1 2 3}}}
17+
)

‎clj/resources/indent-test-cases/comments/out.clj

+6
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99
{:foo {:bar 1} ; Default.
1010
;; Foo bar! {
1111
:biz {:as 123, :asdf #{1 2 3}}}
12+
13+
(comment
14+
{:foo {:bar 1} ; Default.
15+
;; Foo bar! {
16+
:biz {:as 123, :asdf #{1 2 3}}}
17+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(defn- insert!
2+
^Map [^Map ^String k ^Object v]
3+
(if (.putIfAbsent m k v)
4+
(recur m (str \@ k) v)
5+
m))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(defn- insert!
2+
^Map [^Map ^String k ^Object v]
3+
(if (.putIfAbsent m k v)
4+
(recur m (str \@ k) v)
5+
m))

0 commit comments

Comments
 (0)
Please sign in to comment.