You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting assertForOverFulfill on XCTestExpectation on Linux seems to have no effect. The following test case will fail with the following error message:
letmyExpectation = expectation(description: "will be fulfilled twice")
myExpectation.assertForOverFulfill = falsemyExpectation.fulfill()
myExpectation.fulfill() // error: homeTests.testExample : API violation - multiple calls made to XCTestExpectation.fulfill() for will be fulfilled twice.self.waitForExpectations(timeout: 1, handler: nil)
To reproduce, mount the sample project in the Docker container and run swift test
Attachment: Download
Additional Detail from JIRA
md5: 8b3b42fc1b73078c5df7f1b5508ff3cf
Issue Description:
Setting
assertForOverFulfill
onXCTestExpectation
on Linux seems to have no effect. The following test case will fail with the following error message:To reproduce, mount the sample project in the Docker container and run
swift test
The text was updated successfully, but these errors were encountered: