Trait assert_cmd::OutputAssertExt[][src]

pub trait OutputAssertExt {
    fn assert(self) -> Assert;
}

Extend process::Output with assertions.

Examples

use assert_cmd::*;

use std::process::Command;

Command::main_binary()
    .unwrap()
    .assert()
    .success();

Required Methods

Wrap with an interface for that provides assertions on the process::Output.

Implementations on Foreign Types

impl OutputAssertExt for Output
[src]

impl<'c> OutputAssertExt for &'c mut Command
[src]

Implementors