diff --git a/ppx/test/record-props-error.t/run.t b/ppx/test/record-props-error.t/run.t index a8e74f7a9..d2440098d 100644 --- a/ppx/test/record-props-error.t/run.t +++ b/ppx/test/record-props-error.t/run.t @@ -1,8 +1,8 @@ Since we generate invalid syntax for the argument of the make fn `(Props : <>)` We need to output ML syntax here, otherwise refmt could not parse it. $ ../ppx.sh --output ml input.re - File "output.ml", line 4, characters 27-35: - 4 | [@@react.component { no_props = string }] - ^^^^^^^^ + File "output.ml", line 5, characters 68-76: + 5 | no_props + ^^^^^^^^ Error: [@react.component] only accepts 'props' as a field, given: no_props [1]