Module assert_cmd::assert

source ·
Expand description

Structs

Assert the state of an Output.
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoOutputPredicate for bytes.
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoCodePredicate for code.
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoCodePredicate for iterables of codes.
Keep predicates concrete Predicates out of our public API. predicates_core::Predicate used by IntoOutputPredicate for str.

Traits

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

Type Definitions

Assert represented as a Result.