Module lib::assert_command::assert_command_stderr_eq
source · Expand description
Assert a command stderr string is equal to another.
Pseudocode:
(command1 ⇒ stderr ⇒ string) = (command2 ⇒ stderr ⇒ string)
§Example
use assertables::*;
use std::process::Command;
let mut a = Command::new("bin/printf-stderr");
a.args(["%s", "hello"]);
let mut b = Command::new("bin/printf-stderr");
b.args(["%s", "hello"]);
assert_command_stderr_eq!(a, b);