package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=bc426d44bd413aa231e484c7c3378185
sha512=036b039cf069b2a283135bdb1d7643719bec2eaca59debd0b20d7b87742d4404c0db2259ef46ad7ecc77520f3272b02e2af5f83a740fdb0fc0d0479dfe3af9bb
doc/ppx_expect.runtime/Ppx_expect_runtime/Test_node/Create/index.html
Module Test_node.Create
Source
Functions for creating t
s 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.
Source
val expect :
formatting_flexibility:
Ppx_expect_runtime__.Types.Expect_node_formatting.Flexibility.t ->
node_loc:Ppx_expect_runtime__.Types.Compact_loc.t ->
located_payload:
(Ppx_expect_runtime__.Output.Payload.t
* Ppx_expect_runtime__.Types.Compact_loc.t)
Base.option ->
Test_node.t
[%expect _]
Source
val expect_exact :
formatting_flexibility:
Ppx_expect_runtime__.Types.Expect_node_formatting.Flexibility.t ->
node_loc:Ppx_expect_runtime__.Types.Compact_loc.t ->
located_payload:
(Ppx_expect_runtime__.Output.Payload.t
* Ppx_expect_runtime__.Types.Compact_loc.t)
Base.option ->
Test_node.t
[%expect_exact _]
[%expect.unreachable]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>