Module lib::assert_command::assert_command_stdout_ne

source ·
Expand description

Assert a command stdout string is equal to another.

Pseudocode:
(command1 ⇒ stdout) = (command2 ⇒ stdout)

§Example

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

let mut a = Command::new("bin/printf-stdout");
a.args(["%s", "alfa"]);
let mut b = Command::new("bin/printf-stdout");
b.args(["%s", "zz"]);
assert_command_stdout_ne!(a, b);

§Module macros