package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_expect-v0.15.0.tar.gz
sha256=06315a45b43da72f96719bcb183c0177b5198beae8c3ddce357e180a32f9ca7b

doc/src/ppx_expect.config/expect_test_config.ml.html

Source file expect_test_config.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module IO_run = struct
  type 'a t = 'a

  let return x = x
  let bind t ~f = f t
end

module IO_flush = struct
  include IO_run

  let to_run t = t
end

let sanitize s = s
let run f = f ()
let flushed () = true (* the runtime flushed [stdout] before calling this function *)

let upon_unreleasable_issue = `CR
OCaml

Innovation. Community. Security.