Module assert

Module assert 

Source
Expand description

Structs§

Assert
Assert the state of an Output.
AssertError
Assert error (see AssertResult).
BytesContentOutputPredicate
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoOutputPredicate for bytes.
EqCodePredicate
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoCodePredicate for code.
InCodePredicate
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoCodePredicate for iterables of codes.
StrContentOutputPredicate
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoOutputPredicate for str.
StrOutputPredicate
predicates_core::Predicate used by IntoOutputPredicate for Predicate<str>.

Traits§

IntoCodePredicate
Used by Assert::code to convert Self into the needed predicates_core::Predicate<i32>.
IntoOutputPredicate
Used by Assert::stdout and Assert::stderr to convert Self into the needed [predicates_core::Predicate<[u8]>].
OutputAssertExt
Assert the state of an Output.

Type Aliases§

AssertResult
Assert represented as a Result.