Module assert_command_stdout_gt

Source
Expand description

Assert a command stdout string is greater than another.

Pseudocode:
(a_command ⇒ stdout) = (b_command ⇒ 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", "aa"]);
assert_command_stdout_gt!(a, b);

§Module macros