Skip to content

Commit cbd6a58

Browse files
committed
Add a test for proxy indentation
1 parent 446f2a0 commit cbd6a58

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/clojure-mode-indentation-test.el

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,20 @@ values of customisable variables."
338338
(let [indent-test :fail]
339339
...)))")
340340

341+
(def-full-indent-test proxy
342+
"(proxy [Writer] []
343+
(close [] (.flush ^Writer this))
344+
(write
345+
([x]
346+
(with-out-binding [out messages]
347+
(.write out x)))
348+
([x ^Integer off ^Integer len]
349+
(with-out-binding [out messages]
350+
(.write out x off len))))
351+
(flush []
352+
(with-out-binding [out messages]
353+
(.flush out))))")
354+
341355
(def-full-indent-test reader-conditionals
342356
"#?@ (:clj []
343357
:cljs [])")

0 commit comments

Comments
 (0)