package async

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Async.Expect_test_configSource

The default expect test config in code which has open Async.

%expect has type unit rather than unit Deferred.t. This lets one write:

  [%expect {| |};

rather than:

  let%bind () = [%expect {| |}] in

It also means that let%expect cannot terminate with %expect, and must instead terminate with return ().

include Expect_test_config_types.S with type 'a IO.t = 'a Async_kernel.Deferred.t
Sourcemodule IO : sig ... end
Sourceval run : (unit -> unit IO.t) -> unit
Sourceval sanitize : string -> string
Sourceval upon_unreleasable_issue : Expect_test_config_types.Upon_unreleasable_issue.t
OCaml

Innovation. Community. Security.