pub fn be_true() -> Matcher<'static, bool, bool>
Succeeds when the actual value is true.
true
use xpct::{expect, be_true}; expect!(true).to(be_true()); expect!(false).to_not(be_true());