Skip to content

Commit 55071e6

Browse files
committed
Printinf on snapshot and errors has breakline
1 parent 9049b39 commit 55071e6

File tree

1 file changed

+3
-3
lines changed
  • ppx/test/record-props-error.t

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Since we generate invalid syntax for the argument of the make fn `(Props : <>)`
22
We need to output ML syntax here, otherwise refmt could not parse it.
33
$ ../ppx.sh --output ml input.re
4-
File "output.ml", line 4, characters 27-35:
5-
4 | [@@react.component { no_props = string }]
6-
^^^^^^^^
4+
File "output.ml", line 5, characters 68-76:
5+
5 | no_props
6+
^^^^^^^^
77
Error: [@react.component] only accepts 'props' as a field, given: no_props
88
[1]

0 commit comments

Comments
 (0)