assertables::assert_program_args

Module assert_program_args_stdout_ne_expr

source
Expand description

Assert a command (built with program and args) stdout string is not equal to an expression.

Pseudocode:
(program1 + args1 ⇒ command ⇒ stdout ⇒ string) ≠ (expr into string)

§Example

let program = "bin/printf-stdout";
let args = ["%s", "hello"];
let s = String::from("zzz");
assert_program_args_stdout_ne_expr!(&program, &args, s);

§Module macros