Skip to content

Commit

Permalink
update tests, the new output is an improvement: ocaml/ocaml#10095
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetiot committed Jul 6, 2021
1 parent 774a749 commit 0e6708e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 26 deletions.
6 changes: 1 addition & 5 deletions test/failing/tests/indent_empty.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ ocamlformat: ignoring "tests/indent_empty.ml" (syntax error)
File "tests/indent_empty.ml", line 5, characters 0-3:
5 | end
^^^
Error: Syntax error: 'end' expected
File "tests/indent_empty.ml", line 1, characters 11-17:
1 | module M = struct
^^^^^^
This 'struct' might be unmatched
Error: Syntax error
6 changes: 1 addition & 5 deletions test/failing/tests/js_functor.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ ocamlformat: ignoring "tests/js_functor.ml" (syntax error)
File "tests/js_functor.ml", line 10, characters 4-7:
10 | end)
^^^
Error: Syntax error: 'end' expected
File "tests/js_functor.ml", line 8, characters 5-11:
8 | (struct
^^^^^^
This 'struct' might be unmatched
Error: Syntax error
2 changes: 1 addition & 1 deletion test/failing/tests/pattern.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ocamlformat: ignoring "tests/pattern.ml" (syntax error)
File "tests/pattern.ml", line 68, characters 11-12:
68 | with bli)
^
Error: Syntax error: operator expected.
Error: Syntax error
6 changes: 1 addition & 5 deletions test/failing/tests/unit_classes.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ ocamlformat: ignoring "tests/unit_classes.ml" (syntax error)
File "tests/unit_classes.ml", line 23, characters 24-25:
23 | method private bar1 x ~y : bool
^
Error: Syntax error: 'end' expected
File "tests/unit_classes.ml", line 18, characters 2-8:
18 | object
^^^^^^
This 'object' might be unmatched
Error: Syntax error
6 changes: 1 addition & 5 deletions test/failing/tests/unit_extensions.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ ocamlformat: ignoring "tests/unit_extensions.ml" (syntax error)
File "tests/unit_extensions.ml", line 101, characters 8-11:
101 | M.sig
^^^
Error: Syntax error: ')' expected
File "tests/unit_extensions.ml", line 100, characters 4-5:
100 | (val m :
^
This '(' might be unmatched
Error: Syntax error
6 changes: 1 addition & 5 deletions test/failing/tests/unit_modtypes.ml.broken-ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ ocamlformat: ignoring "tests/unit_modtypes.ml" (syntax error)
File "tests/unit_modtypes.ml", line 66, characters 13-14:
66 | module M (X) (Y):
^
Error: Syntax error: 'end' expected
File "tests/unit_modtypes.ml", line 34, characters 0-3:
34 | sig
^^^
This 'sig' might be unmatched
Error: Syntax error

0 comments on commit 0e6708e

Please sign in to comment.