diff --git a/GRDB Tests/Public/CrashTests.swift b/GRDB Tests/Public/CrashTests.swift index 91d4431e7..dcfd614f5 100644 --- a/GRDB Tests/Public/CrashTests.swift +++ b/GRDB Tests/Public/CrashTests.swift @@ -61,6 +61,8 @@ class RecordWithRowIDPrimaryKeyNotExposedInStoredDatabaseDictionary : Record { class CrashTests: GRDBTestCase { + // This method does not actually catch any crash. + // But it expresses an intent :-) func assertCrash(message: String, @noescape block: () throws -> ()) { do { try block() @@ -70,6 +72,7 @@ class CrashTests: GRDBTestCase { } } + // ========================================================================= // MARK: - Migrations @@ -292,7 +295,6 @@ class CrashTests: GRDBTestCase { RecordWithInexistingDatabaseTable().exists(db) } } - XCTFail("Crash expected") }