Skip to content

Commit

Permalink
Test cursive/zprint mode with 1st arg on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
miridius committed Nov 29, 2023
1 parent be0555d commit a82e1d2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions cljfmt/test/cljfmt/core_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@

(deftest test-indent
(testing "list indentation"
(is (reformats-to?
["(foo bar"
"baz"
"quz)"]
["(foo bar"
" baz"
" quz)"]))
(are [fn-args-indent]
(reformats-to?
["(foo bar"
"baz"
"quz)"]
["(foo bar"
" baz"
" quz)"]
{:function-arguments-indentation fn-args-indent})
:community
:cursive
:zprint)

(are [fn-args-indent expected]
(reformats-to?
Expand Down

0 comments on commit a82e1d2

Please sign in to comment.