This commit is contained in:
parent
7a9535bdfe
commit
5a5b738487
|
@ -9,7 +9,13 @@ final class drone_tutorial_swiftTests: XCTestCase {
|
||||||
XCTAssertEqual(drone_tutorial_swift().text, "Hello, World!")
|
XCTAssertEqual(drone_tutorial_swift().text, "Hello, World!")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func testFailure() {
|
||||||
|
// This is an example of a dysfunctional test case.
|
||||||
|
XCTAssertEqual(drone_tutorial_swift().text, "Goodbye, Cruel World!")
|
||||||
|
}
|
||||||
|
|
||||||
static var allTests = [
|
static var allTests = [
|
||||||
("testExample", testExample),
|
("testExample", testExample),
|
||||||
|
("testFailure", testFailure),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user