Struct expectest::matchers::BeSome [] [src]

pub struct BeSome;

A matcher for be_some assertions for Option<T> types.

Methods

impl BeSome
[src]

Returns a new BeSomeValue matcher.

Trait Implementations

impl<A> Matcher<Option<A>, ()> for BeSome where
    A: Debug
[src]

Returns a failure message.

Checks if an actual value matches an expected value.