Open ZevEisenberg opened 9 years ago
The tests jump through hoops to detect when an assertion has thrown an exception. But I just learned about XCTAssertThrows, which does that for us. The tests should be simplified using this mechanism.
XCTAssertThrows
The tests jump through hoops to detect when an assertion has thrown an exception. But I just learned about
XCTAssertThrows
, which does that for us. The tests should be simplified using this mechanism.