File: max_iters.t

package info (click to toggle)
ocamlformat 0.29.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,820 kB
  • sloc: ml: 65,176; pascal: 4,877; lisp: 229; sh: 217; makefile: 121
file content (10 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
  $ echo profile=default > .ocamlformat

  $ echo 'let x = 1' > a.ml
  $ ocamlformat --max-iters=1 a.ml
  let x = 1

  $ echo 'let x     = 1' > a.ml
  $ ocamlformat --max-iters=1 a.ml
  ocamlformat: "a.ml" was not already formatted. ([max-iters = 1])
  [1]