XCTExpectFailureWithOptionsInBlock

Function XCTExpectFailureWithOptionsInBlock 

Source
pub extern "C-unwind" fn XCTExpectFailureWithOptionsInBlock(
    failure_reason: Option<&NSString>,
    options: &XCTExpectedFailureOptions,
    failing_block: &DynBlock<dyn Fn()>,
)
Available on crate feature block2 only.
Expand description

Like XCTExpectFailure, but takes an options object that can be used to customize the behavior and limits the scope in which issues are matched.