Fix stale test

The test was checking for the presence of an SQLite bug. This bug is gone in macOS 27.0.
This commit is contained in:
Gwendal Roué committed 2026-09-15 14:36:27 +02:00
1 parent 0d8cf958b4
commit c08767b500
1 file changed
+2 -3
+2 -3
View File
@@ -45,9 +45,8 @@ class Issue1838Tests: GRDBTestCase {
}
// Make sure the interrupted state created by the FTS5 bug is no longer active.
let documentCount = try dbQueue.read { db in
try Int.fetchOne(db, sql: "SELECT COUNT(*) FROM documents")!
try dbQueue.read { db in
try db.execute(sql: "SELECT COUNT(*) FROM documents")
}
XCTAssertEqual(documentCount, 0)
}
}