package ppx_expect_nobase

  1. Overview
  2. Docs
Cram like framework for OCaml (with stripped dependencies)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppx_expect_nobase-0.17.3.2.tbz
sha256=d918035e8cc2765e691c1e9d22bda5983569ec7bc7c2da60424b4207c7c71aae
sha512=b708a075e154adc51494d84a88a120c759929fb021c3993dcfe6037c9ba143a379a8dc2550970e1134c744e0a9eec62df6f92bf5764d845164510a191b85d0f7

doc/ppx_expect_nobase.runtime/Ppx_expect_nobase_runtime/Payload/index.html

Module Ppx_expect_nobase_runtime.PayloadSource

Sourcetype t = {
  1. contents : 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_nobase_runtime__.Types.String_node_format.Delimiter.t;
    (*

    The delimiters used in the payload.

    *)
}

Payloads given as arguments to expectation AST nodes.

Sourceval default : string -> t

Add the default tags to a payload.

Sourceval to_source_code_string : t -> string

The source-code representation of a payload.