Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion FirebasePerformance/Tests/Unit/Common/FPRDiagnosticsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ - (void)testFPRAssertSpeed {

/** Tests that FPRAssert actually asserts (when NS_BLOCK_ASSERTIONS=0|undefined). */
- (void)testFPRAssert {
XCTAssertThrows(FPRAssert(NO, @"This is a failed assert!"));
XCTAssertThrows(^{
FPRAssert(NO, @"This is a failed assert!");
}());
}

/** Tests emit diagnostics methods. */
Expand Down
Loading