Documentation

This commit is contained in:
Gwendal Roué committed 2015-09-12 15:40:30 +02:00
1 parent af405ee7a2
commit d26fed9bbd
1 file changed
+3 -1
+3 -1
View File
@@ -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")
}