# Tweet by [@keefmoon](http://twitter.com/keefmoon) on 2017-11-12 17:31:39
> [!INFO] Archived from [original tweet](http://twitter.com/keefmoon/status/929763633533464578)
RT @nicklockwood: TIL: In Swift, XCTestCase test functions can be declared as `throws`, with the test failing if an error is thrown. How d…