From 5a5b7384879d4208f59af494e99ebb64cafbac7d Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 3 Feb 2019 03:33:36 +0100 Subject: [PATCH] Add failing test --- .../drone_tutorial_swiftTests.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/drone-tutorial-swiftTests/drone_tutorial_swiftTests.swift b/Tests/drone-tutorial-swiftTests/drone_tutorial_swiftTests.swift index 495e180..f633b05 100644 --- a/Tests/drone-tutorial-swiftTests/drone_tutorial_swiftTests.swift +++ b/Tests/drone-tutorial-swiftTests/drone_tutorial_swiftTests.swift @@ -9,7 +9,13 @@ final class drone_tutorial_swiftTests: XCTestCase { 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 = [ ("testExample", testExample), + ("testFailure", testFailure), ] }