mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Documentation
This commit is contained in:
1 parent
af405ee7a2
commit
d26fed9bbd
1 file changed
+3
-1
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user