Trait assert_cmd::prelude::OutputAssertExt[][src]

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

Assert the state of an Output.

Examples

use assert_cmd::prelude::*;

use std::process::Command;

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

Required Methods

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

Examples

use assert_cmd::prelude::*;

use std::process::Command;

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

Implementations on Foreign Types

impl OutputAssertExt for Output
[src]

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

Implementors