package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=6cb403d7d59f7451f1d5a94838ca46902991fc7bb43e5342b620fc73ab99bd94

doc/ppx_expect.runtime/Ppx_expect_runtime/Payload/index.html

Module Ppx_expect_runtime.PayloadSource

Sourcetype t = {
  1. contents : Base.string;
    (*

    The contents of the payload; the output expected at some node, as a raw string exactly as they were parsed from the source file.

    *)
  2. tag : Ppx_expect_runtime__.Types.String_node_format.Delimiter.t;
    (*

    The delimiters used in the payload.

    *)
}

Payloads given as arguments to expectation AST nodes.

Sourceval default : Base.string -> t

Add the default tags to a payload.

Sourceval to_source_code_string : t -> Base.string

The source-code representation of a payload.

OCaml

Innovation. Community. Security.