-
Notifications
You must be signed in to change notification settings - Fork 470
ppx_expect + reason is broken after dune lang 3.2 #7930
Copy link
Copy link
Closed
ocaml/opam-repository
#24185Description
Expected Behavior
File "test/Test.re", line 1, characters 0-0:
diff --git a/_build/default/test/Test.re b/_build/default/test/Test.re.corrected
index e3f7c74..d69e228 100644
--- a/_build/default/test/Test.re
+++ b/_build/default/test/Test.re.corrected
@@ -1,4 +1,4 @@
let%expect_test "test" = {
print_endline("hello");
- [%expect{| |}]
+ [%expect{| hello |}]
}
Actual Behavior
File "test/Test.re", line 1:
Error: I/O error: test/Test.re: No such file or directory
Reproduction
test/dune
(library
(name test)
(inline_tests)
(preprocess (pps ppx_expect))
(libraries ))test/test.re
let%expect_test "test" = {
print_endline("hello");
[%expect{| |}]
}dune-project
(lang dune 3.3)
If change the line (lang dune 3.3) to (lang dune 3.2). Everything seems ok.
Specifications
- Version of
dune(output ofdune --version): 3.8.1 - Version of
ocaml(output ofocamlc --version): 4.14.1 - Operating system (distribution and version): macOS 13.4 (22F66)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels