For_external.ExpectationThe functions below are more thoroughly documented in the public interface in Expect_test_helpers_base
There is an active expectation from the time that test execution encounters an [%expectation] until one of commit or skip is called.
Can be run exactly once upon encountering an [%expectation]. Accepts the test result as though that expectation was an [%expect].
Can be run exactly once upon encountering an [%expectation]. Ignores the result for this [%expectation].
Each of the following functions can be run arbitrarily many times between encountering an [%expectation] and calling commit or skip
val sexp_for_debugging : here:lexing_position -> Base.unit -> Base.Sexp.tProduce a sexp representing the state of the most recently encountered [%expectation]
Whether calling commit for the current [%expectation] would produce a test failure
val actual : here:lexing_position -> Base.unit -> Base.stringOutput collected at the current [%expectation]
val expected : here:lexing_position -> Base.unit -> Base.string Base.optionOutput expected at the current [%expectation]