Module assert_command_stderr_ne_x

Source
Expand description

Assert a command stderr string is not equal to an expression.

Pseudocode:
(command ⇒ stderr) = (expr into string)

§Example

use assertables::*;
use std::process::Command;

let mut command = Command::new("bin/printf-stderr");
command.args(["%s", "alfa"]);
let bytes = vec![b'z', b'z'];
assert_command_stderr_ne_x!(command, bytes);

§Module macros