Module Test_node.Create

Functions for creating ts corresponding to each of the test nodes that can be parsed out of extension points in a let%expect_test.

Each of these creators accepts the location of the entire AST node associated with the e.g. [%expect] test.

val expect : expect_creator

[%expect _]

val expect_exact : expect_creator

[%expect_exact _]

val expect_if_reached : expect_creator

[%expect.if_reached _]

val expectation : expect_creator

[%expectation _]

val expect_unreachable : node_loc:Ppx_expect_runtime_types.Compact_loc.t -> Test_node.t

[%expect.unreachable]

val expectation_never_committed : node_loc:Ppx_expect_runtime_types.Compact_loc.t -> Test_node.t

[%expectation.never_committed]