Function xpct::be_default
source · pub fn be_default<'a, Actual>() -> Matcher<'a, Actual, Actual>where
Actual: Debug + Default + PartialEq<Actual> + Eq + 'a,
Expand description
Succeeds when the actual value equals the default value for the type.
Examples
use xpct::{expect, be_default};
expect!("").to(be_default());