Expand description
Assert the state of an Output
.
use assert_cmd::prelude::*;
use std::process::Command;
let mut cmd = Command::main_binary()
.unwrap();
cmd.assert()
.success();
Wrap with an interface for that provides assertions on the Output
.
use assert_cmd::prelude::*;
use std::process::Command;
let mut cmd = Command::main_binary()
.unwrap();
cmd.assert()
.success();