mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
'^foo' is no longer an invalid FTS5 pattern in upcoming SQLite 3.22.0
This commit is contained in:
1 parent
79a5fb9c15
commit
903e8c96aa
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class FTS5PatternTests: GRDBTestCase {
|
||||
func testInvalidFTS5Pattern() throws {
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
dbQueue.inDatabase { db in
|
||||
let invalidRawPatterns = ["", "?!", "^", "^foo", "NOT", "(", "AND", "OR", "\"", "missing:foo"]
|
||||
let invalidRawPatterns = ["", "?!", "^", "NOT", "(", "AND", "OR", "\"", "missing:foo"]
|
||||
for rawPattern in invalidRawPatterns {
|
||||
do {
|
||||
_ = try db.makeFTS5Pattern(rawPattern: rawPattern, forTable: "books")
|
||||
|
||||
Reference in new issue
Block a user