Commit c970b27e authored by Drew's avatar Drew

Deliberately introducing a crash

To test 馃摗22594772
parent 2acc7b21
Pipeline #409 skipped
...@@ -9,6 +9,12 @@ ...@@ -9,6 +9,12 @@
import XCTest import XCTest
@testable import SynchronousRequestKit @testable import SynchronousRequestKit
func notInt() -> Int! {
return nil
}
let n = notInt()!
class SynchronousRequestKitTests: XCTestCase { class SynchronousRequestKitTests: XCTestCase {
override func setUp() { override func setUp() {
...@@ -22,6 +28,7 @@ class SynchronousRequestKitTests: XCTestCase { ...@@ -22,6 +28,7 @@ class SynchronousRequestKitTests: XCTestCase {
} }
func testExample() { func testExample() {
print("\(n)")
// This is an example of a functional test case. // This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results. // Use XCTAssert and related functions to verify your tests produce the correct results.
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment