Type Alias TestResult

Source
pub type TestResult = Result<()>;
Expand description

Shorthand for an empty anyhow::Result. Useful for idiomatic tests.

Aliased Type§

enum TestResult {
    Ok(()),
    Err(Error),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value