assertables::assert_status

Module assert_status_code_value_gt

Source
Expand description

Assert a status code value is greater than another.

Pseudocode:
a ⇒ status ⇒ code ⇒ value > b ⇒ status ⇒ code ⇒ value

§Example

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

let mut a = Command::new("bin/exit-with-arg"); a.arg("2");
let mut b = Command::new("bin/exit-with-arg"); b.arg("1");
assert_status_code_value_gt!(a, b);

§Module macros