diff --git a/Tests/GRDBTests/FTS/Issue1838Tests.swift b/Tests/GRDBTests/FTS/Issue1838Tests.swift index e20fc9c21..66b628ab2 100644 --- a/Tests/GRDBTests/FTS/Issue1838Tests.swift +++ b/Tests/GRDBTests/FTS/Issue1838Tests.swift @@ -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) } }