Expand description
Assert a command (built with program and args) stdout into a string contains a given containee.
Pseudocode:
(a_program + a_args ⇒ command ⇒ stdout ⇒ string) contains (expr into string)
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
use assertables::*;
let program = "bin/printf-stdout";
let args = ["%s", "alfa"];
let containee = "lf";
assert_program_args_stdout_string_contains!(&program, &args, &containee);