Skip to content

Commit e4ed2d1

Browse files
committed
flambda-backend: Promote whitespace-only test output changes
1 parent 1bd14eb commit e4ed2d1

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

testsuite/tests/warnings/deprecated_warning_specs.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Hint: Did you make a spelling mistake when using a mnemonic name?
1818

1919
[@@@warning "ab-cdg+efh"]
2020
[%%expect {|
21-
2221
Line 1, characters 0-25:
2322
1 | [@@@warning "ab-cdg+efh"]
2423
^^^^^^^^^^^^^^^^^^^^^^^^^

testsuite/tests/warnings/w51.ml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ let rec fact = function
2121
| n -> n * (fact [@tailcall true]) (n-1)
2222
;;
2323
[%%expect {|
24-
2524
Line 3, characters 13-42:
2625
3 | | n -> n * (fact [@tailcall true]) (n-1)
2726
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -35,7 +34,6 @@ let rec fact = function
3534
| n -> n * (fact [@tailcall false]) (n-1)
3635
;;
3736
[%%expect {|
38-
3937
val fact : int -> int = <fun>
4038
|}]
4139

@@ -44,7 +42,6 @@ let rec fact_tail acc = function
4442
| n -> (fact_tail [@tailcall]) (n * acc) (n - 1)
4543
;;
4644
[%%expect{|
47-
4845
val fact_tail : int -> int -> int = <fun>
4946
|}]
5047

@@ -53,7 +50,6 @@ let rec fact_tail acc = function
5350
| n -> (fact_tail [@tailcall true]) (n * acc) (n - 1)
5451
;;
5552
[%%expect{|
56-
5753
val fact_tail : int -> int -> int = <fun>
5854
|}]
5955

@@ -62,7 +58,6 @@ let rec fact_tail acc = function
6258
| n -> (fact_tail [@tailcall false]) (n * acc) (n - 1)
6359
;;
6460
[%%expect{|
65-
6661
Line 3, characters 9-56:
6762
3 | | n -> (fact_tail [@tailcall false]) (n * acc) (n - 1)
6863
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -75,7 +70,6 @@ val fact_tail : int -> int -> int = <fun>
7570
(* explicitly test the "invalid payload" case *)
7671
let rec test x = (test[@tailcall foobar]) x;;
7772
[%%expect{|
78-
7973
Line 1, characters 24-32:
8074
1 | let rec test x = (test[@tailcall foobar]) x;;
8175
^^^^^^^^

testsuite/tests/warnings/w52.ml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ and may change in future versions. (see manual section 13.5.3)
1515

1616
let () = try () with Match_failure ("Any",_,_) -> ();;
1717
[%%expect{|
18-
1918
Line 1, characters 35-46:
2019
1 | let () = try () with Match_failure ("Any",_,_) -> ();;
2120
^^^^^^^^^^^
@@ -26,7 +25,6 @@ and may change in future versions. (see manual section 13.5.3)
2625

2726
let () = try () with Match_failure (_,0,_) -> ();;
2827
[%%expect{|
29-
3028
Line 1, characters 35-42:
3129
1 | let () = try () with Match_failure (_,0,_) -> ();;
3230
^^^^^^^
@@ -41,7 +39,6 @@ type t =
4139
| Warn' of nativeint [@ocaml.warn_on_literal_pattern]
4240
| Deep of (string * int) list [@ocaml.warn_on_literal_pattern];;
4341
[%%expect{|
44-
4542
type t =
4643
Warn of string
4744
| Without_warning of string
@@ -53,7 +50,6 @@ let f = function
5350
| Warn "anything" -> ()
5451
| Warn _ | Warn' _ | Without_warning _ | Deep _ -> ();;
5552
[%%expect{|
56-
5753
Line 2, characters 7-17:
5854
2 | | Warn "anything" -> ()
5955
^^^^^^^^^^
@@ -68,7 +64,6 @@ let g = function
6864
| Warn' 0n -> ()
6965
| Warn _ | Warn' _ | Without_warning _ | Deep _ -> ();;
7066
[%%expect{|
71-
7267
Line 2, characters 8-10:
7368
2 | | Warn' 0n -> ()
7469
^^
@@ -83,23 +78,20 @@ let h = function
8378
| Without_warning "outside" -> ()
8479
| Warn _ | Warn' _ | Without_warning _ | Deep _ -> ();;
8580
[%%expect{|
86-
8781
val h : t -> unit = <fun>
8882
|}];;
8983

9084
let i = function
9185
| Deep (_ :: _ :: _ :: _) -> ()
9286
| Warn _ | Warn' _ | Without_warning _ | Deep _ -> ();;
9387
[%%expect{|
94-
9588
val i : t -> unit = <fun>
9689
|}];;
9790

9891
let j = function
9992
| Deep (_ :: _ :: ("deep",_) :: _) -> ()
10093
| Warn _ | Warn' _ | Without_warning _ | Deep _ -> ();;
10194
[%%expect{|
102-
10395
Line 2, characters 7-34:
10496
2 | | Deep (_ :: _ :: ("deep",_) :: _) -> ()
10597
^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)