We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389c3e0 commit d7cf0f9Copy full SHA for d7cf0f9
Tests/GRDBTests/DatabaseErrorTests.swift
@@ -216,6 +216,9 @@ class DatabaseErrorTests: GRDBTestCase {
216
}
217
218
func testNSErrorBridging() throws {
219
+#if !canImport(Darwin)
220
+ throw XCTSkip("NSError bridging not available on non-Darwin platforms")
221
+#else
222
let dbQueue = try makeDatabaseQueue()
223
try dbQueue.inDatabase { db in
224
try db.create(table: "parents") { $0.column("id", .integer).primaryKey() }
@@ -229,5 +232,6 @@ class DatabaseErrorTests: GRDBTestCase {
229
232
XCTAssertNotNil(error.localizedFailureReason)
230
233
231
234
235
+#endif
236
237
0 commit comments