diff --git a/test/mirage/tests.ml b/test/mirage/tests.ml index 2d40782..6c1991c 100644 --- a/test/mirage/tests.ml +++ b/test/mirage/tests.ml @@ -55,7 +55,7 @@ let check_header ~message expected actual = Alcotest.(check packet) message expected actual let fail = Alcotest.fail -let failf fmt = Fmt.kstrf Alcotest.fail fmt +let failf fmt = Fmt.kstrf (fun s -> Alcotest.fail s) fmt let timeout ~time t = let msg = Printf.sprintf "Timed out: didn't complete in %d milliseconds" time in