Module assert_command_stdout_gt_x

Source
Expand description

Assert a command stdout string is greater than an expression.

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

§Example

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

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

§Module macros