Skip to content

Commit

Permalink
fix: Enable failures handling only since macOS 11.3 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Mar 20, 2022
1 parent b07e7b9 commit 1f0d53f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ - (void)setUp
{
[super setUp];
self.continueAfterFailure = YES;
self.executionTimeAllowance = 24 * 60 * 60;
[self setValue:@(NO) forKey:@"_shouldSetShouldHaltWhenReceivesControl"];
[self setValue:@(NO) forKey:@"_shouldHaltWhenReceivesControl"];
}
Expand All @@ -44,7 +43,9 @@ - (void)setUp
*/
- (void)testRunner
{
#ifdef MAC_OS_VERSION_11_3
XCTExpectFailureWithOptions(@"Ignore all failures", XCTExpectedFailureOptions.nonStrictOptions);
#endif
FBWebServer *webServer = [[FBWebServer alloc] init];
webServer.delegate = self;
[webServer startServing];
Expand Down

0 comments on commit 1f0d53f

Please sign in to comment.