Skip to content

Commit 846409c

Browse files
promote tests
1 parent e8430a4 commit 846409c

File tree

6 files changed

+40
-48
lines changed

6 files changed

+40
-48
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ let () =
396396
let () =
397397
S.ntyp Cbor_type.Reserved
398398
@@ S.tok begin[@warning "-4"] fun ev ->
399-
match ev with Cbor_event.Reserved int -> Some int | _ -> None
400-
end
399+
match ev with Cbor_event.Reserved int -> Some int | _ -> None
400+
end
401401
in
402402
()
403403

test/passing/refs.default/exp_grouping-parens.ml.ref

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,10 @@ let _ =
557557
let () =
558558
fooooo
559559
|>>>>> List.iter (fun a ->
560-
let x =
561-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
562-
$ y
563-
in
564-
fooooooooooo x)
560+
let x =
561+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
562+
in
563+
fooooooooooo x)
565564

566565
let () =
567566
fooooo
@@ -576,11 +575,10 @@ let () =
576575
let () =
577576
fooooo
578577
|>>>>> List.iter (fun a ->
579-
let x =
580-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
581-
$ y
582-
in
583-
fooooooooooo x)
578+
let x =
579+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
580+
in
581+
fooooooooooo x)
584582

585583
let () =
586584
fooooo

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

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -638,12 +638,11 @@ let _ =
638638
let () =
639639
fooooo
640640
|>>>>> List.iter begin fun a ->
641-
let x =
642-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
643-
$ y
644-
in
645-
fooooooooooo x
646-
end
641+
let x =
642+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
643+
in
644+
fooooooooooo x
645+
end
647646

648647
let () =
649648
fooooo
@@ -659,12 +658,11 @@ let () =
659658
let () =
660659
fooooo
661660
|>>>>> List.iter begin fun a ->
662-
let x =
663-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
664-
$ y
665-
in
666-
fooooooooooo x
667-
end
661+
let x =
662+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
663+
in
664+
fooooooooooo x
665+
end
668666

669667
let () =
670668
fooooo

test/passing/refs.ocamlformat/attributes.ml.ref

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ let () =
442442
let () =
443443
S.ntyp Cbor_type.Reserved
444444
@@ S.tok begin[@warning "-4"] fun ev ->
445-
match ev with Cbor_event.Reserved int -> Some int | _ -> None
446-
end
445+
match ev with Cbor_event.Reserved int -> Some int | _ -> None
446+
end
447447
in
448448
()
449449

test/passing/refs.ocamlformat/exp_grouping-parens.ml.ref

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -561,11 +561,10 @@ let _ =
561561
let () =
562562
fooooo
563563
|>>>>> List.iter (fun a ->
564-
let x =
565-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
566-
$ y
567-
in
568-
fooooooooooo x )
564+
let x =
565+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
566+
in
567+
fooooooooooo x )
569568

570569
let () =
571570
fooooo
@@ -580,11 +579,10 @@ let () =
580579
let () =
581580
fooooo
582581
|>>>>> List.iter (fun a ->
583-
let x =
584-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
585-
$ y
586-
in
587-
fooooooooooo x )
582+
let x =
583+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
584+
in
585+
fooooooooooo x )
588586

589587
let () =
590588
fooooo

test/passing/refs.ocamlformat/exp_grouping.ml.ref

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -644,12 +644,11 @@ let _ =
644644
let () =
645645
fooooo
646646
|>>>>> List.iter begin fun a ->
647-
let x =
648-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
649-
$ y
650-
in
651-
fooooooooooo x
652-
end
647+
let x =
648+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
649+
in
650+
fooooooooooo x
651+
end
653652

654653
let () =
655654
fooooo
@@ -665,12 +664,11 @@ let () =
665664
let () =
666665
fooooo
667666
|>>>>> List.iter begin fun a ->
668-
let x =
669-
some_really_really_really_long_name_that_doesn't_fit_on_the_line
670-
$ y
671-
in
672-
fooooooooooo x
673-
end
667+
let x =
668+
some_really_really_really_long_name_that_doesn't_fit_on_the_line $ y
669+
in
670+
fooooooooooo x
671+
end
674672

675673
let () =
676674
fooooo

0 commit comments

Comments
 (0)