From 55071e6ae1109c4aa8995f5710b8290a006ab2ae Mon Sep 17 00:00:00 2001 From: David Sancho Moreno Date: Wed, 20 Nov 2024 12:28:24 +0100 Subject: [PATCH] Printinf on snapshot and errors has breakline --- ppx/test/record-props-error.t/run.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]