File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ let test_mk =
3232 `Msg ({| File " _none_" , line 1 : invalid code block : |} ^ m))
3333 expected
3434 in
35- Alcotest. (check (result Testable. block Testable. msg ))
35+ Alcotest. (check (Testable. errormsg Testable. block ))
3636 test_name expected actual
3737 in
3838 (test_name, `Quick , test_fun)
Original file line number Diff line number Diff line change 11module Testable = struct
22 open Mdx.Label
3+ include Testable
34
45 let relation = Alcotest. testable Relation. pp ( = )
5-
6- let msg =
7- Alcotest. testable (fun fmt (`Msg e ) -> Format. pp_print_string fmt e) ( = )
8-
96 let label = Alcotest. testable pp ( = )
107end
118
@@ -31,7 +28,7 @@ let test_raw_parse =
3128 ]
3229
3330let test_interpret =
34- let ty = Alcotest. result Testable. label Testable. msg in
31+ let ty = Testable. errormsg Testable. label in
3532 let make_test ~label ~value ~expected =
3633 let test_name = Printf. sprintf " interpret: %S" label in
3734 let test_fun () =
You can’t perform that action at this time.
0 commit comments