[go: up one dir, main page]

TestResult

Type Alias TestResult 

Source
pub type TestResult = TopLevelResult;
Expand description

A variant of Result for unit tests that return a trackable error on failure.

Aliased Type§

pub enum TestResult {
    Ok(()),
    Err(TopLevelError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(TopLevelError)

Contains the error value