Expand description

Assert a command (built with program and args) stderr string contains a given containee.

This uses std::String method contains.

  • The containee can be a &str, char, a slice of chars, or a function or closure that determines if a character contains.

§Example

let program = "bin/printf-stderr";
let args = ["%s", "hello"];
let containee = "ell";
assert_program_args_stderr_contains!(&program, &args, containee);

§Module macros