Skip to content

Commit

Permalink
Fix indent in nested list
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon committed Dec 4, 2018
1 parent 355ee86 commit 452e101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dune_fmt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ and pp_sexp_list indent fmt sexps =
)
fmt
sexps;
Format.fprintf fmt "%a)" pp_indent indent;
Format.pp_print_char fmt ')'
end

let pp_top_sexp fmt sexp =
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fmt/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ and files are not removed when there is an error:
$ echo ' (a (b (c d)))' | dune unstable-fmt
(a
(b
(c d) ))
(c d)))

0 comments on commit 452e101

Please sign in to comment.