add swiftUI code
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import GRDB
|
||||
|
||||
class MigrationCrashTests: GRDBCrashTestCase {
|
||||
|
||||
func testMigrationNamesMustBeUnique() {
|
||||
assertCrash("already registered migration: \"foo\"") {
|
||||
var migrator = DatabaseMigrator()
|
||||
migrator.registerMigration("foo") { db in }
|
||||
migrator.registerMigration("foo") { db in }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user