Skip to content

Commit d436064

Browse files
promote tests
1 parent f11ff7f commit d436064

20 files changed

+71
-77
lines changed

test/cli/print_config.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ No redundant values:
1818
disable=false
1919
margin-check=false
2020
max-iters=10
21-
ocaml-version=4.04.0
21+
ocaml-version=5.4.0
2222
quiet=false
2323
disable-conf-attrs=false
2424
version-check=true
@@ -99,7 +99,7 @@ Redundant values from the conventional profile:
9999
disable=false
100100
margin-check=false
101101
max-iters=10
102-
ocaml-version=4.04.0
102+
ocaml-version=5.4.0
103103
quiet=false
104104
disable-conf-attrs=false
105105
version-check=true
@@ -180,7 +180,7 @@ Redundant values from the ocamlformat profile:
180180
disable=false
181181
margin-check=false
182182
max-iters=10
183-
ocaml-version=4.04.0
183+
ocaml-version=5.4.0
184184
quiet=false
185185
disable-conf-attrs=false
186186
version-check=true

test/passing/gen/dune.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@
17361736
(action
17371737
(with-stdout-to effects.ml.stdout
17381738
(with-stderr-to effects.ml.stderr
1739-
(run %{bin:ocamlformat} --name effects.ml --margin-check --ocaml-version=5.3 %{dep:../tests/effects.ml})))))
1739+
(run %{bin:ocamlformat} --name effects.ml --margin-check %{dep:../tests/effects.ml})))))
17401740

17411741
(rule
17421742
(alias runtest)

test/passing/refs.default/extensions-indent.ml.ref

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ let _ =
323323

324324
let _ =
325325
f
326-
(object%ext
327-
method x = y
328-
end)
326+
object%ext
327+
method x = y
328+
end
329329

330330
let _ =
331331
f

test/passing/refs.default/extensions.ml.ref

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ let _ =
323323

324324
let _ =
325325
f
326-
(object%ext
327-
method x = y
328-
end)
326+
object%ext
327+
method x = y
328+
end
329329

330330
let _ =
331331
f

test/passing/refs.default/labelled_args.ml.ref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let _ =
22
let f ~y = y + 1 in
3-
f ~y:(y : int)
3+
f ~(y : int)
44

55
let () =
66
very_long_function_name

test/passing/refs.default/let_punning.ml.ref

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,23 @@ and y = 2
66
and z = 3
77

88
let p =
9-
let* x = x and* y = y and* z = z in
9+
let* x = x and* y and* z = z in
1010
(x, y, z)
1111

1212
let q =
13-
let%foo x = x and y = y and z = z in
13+
let%foo x and y = y and z in
1414
(x, y, z)
1515

1616
let r =
1717
let* (* 1 *) x (* 2 *) = (* 3 *) x (* 4 *)
18-
and* (* 5 *) y =
19-
y
18+
and* (* 5 *) y
2019
(* 6 *)
2120
in
2221
(x, y)
2322

2423
let s =
2524
let%foo (* 1 *) x (* 2 *) = (* 3 *) x (* 4 *)
26-
and (* 5 *) y =
27-
y
25+
and (* 5 *) y
2826
(* 6 *)
2927
in
3028
(x, y)

test/passing/refs.default/object.ml.ref

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ type t = (int, int) #q
5656
let _ = object%js end
5757
let _ = object%js (super) end
5858
let _ = object%js (super : 'a) end
59-
let _ = f (object end)
60-
let _ = f (object%js end)
59+
let _ = f object end
60+
let _ = f object%js end
6161

6262
class t ~a =
6363
object

test/passing/refs.default/object_expr.ml.ref

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
(object
2-
method one = 1
3-
end)
1+
object
2+
method one = 1
3+
end
44
#one
55
;;
66

77
Some
8-
(object
9-
method one = 1
10-
end)
8+
object
9+
method one = 1
10+
end
1111
;;
1212

1313
ignore
14-
(object
15-
method one = 1
16-
end)
14+
object
15+
method one = 1
16+
end
1717
;;
1818

1919
let () =

test/passing/refs.janestreet/extensions-indent.ml.ref

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,9 @@ let _ =
417417

418418
let _ =
419419
f
420-
(object%ext
421-
method x = y
422-
end)
420+
object%ext
421+
method x = y
422+
end
423423
;;
424424

425425
let _ =

test/passing/refs.janestreet/extensions.ml.ref

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,9 @@ let _ =
417417

418418
let _ =
419419
f
420-
(object%ext
421-
method x = y
422-
end)
420+
object%ext
421+
method x = y
422+
end
423423
;;
424424

425425
let _ =

0 commit comments

Comments
 (0)