Skip to main content

Module assert_status_failure

Module assert_status_failure 

Source
Expand description

Assert a status is a failure.

Pseudocode:
a ⇒ status ⇒ success = false

§Example

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

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

§Module macros