[][src]Module assert_cmd::assert

Output assertions.

Structs

Assert

Assert the state of an Output.

BytesContentOutputPredicate

Predicate used by IntoOutputPredicate for bytes.

EqCodePredicate

Predicate used by IntoCodePredicate for code.

InCodePredicate

Predicate used by IntoCodePredicate for iterables of codes.

StrContentOutputPredicate

Predicate used by IntoOutputPredicate for str.

StrOutputPredicate

Predicate used by IntoOutputPredicate for [Predicate<str>].

Traits

IntoCodePredicate

Used by Assert::code to convert Self into the needed Predicate<i32>.

IntoOutputPredicate

Used by Assert::stdout and Assert::stderr to convert Self into the needed [Predicate<[u8]>].

OutputAssertExt

Assert the state of an Output.