package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.3.tar.gz
md5=a7daa59114638fd80f52b6adbb0db7ed
sha512=d26364f2c7c0a3d83e5ecc144f77875a00887853c72c03e0122d658acb4d1cb4c6d77fabc1222d775663db74f0345be2a33518dffac9feef57ece5e9e40dc709
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)"
>