Trait cli_test_dir::ExpectStatus [] [src]

pub trait ExpectStatus {
    fn expect_success(self) -> Output;
fn expect_failure(self) -> Output; }

We define expect_status on quite a few related types to support different calling patterns.

Required Methods

Expect the child process to succeed, and return a std::process::Output object with its output.

Expect the child process to fail, and return std::process::Output object with its output.

Implementors