diff options
author | Philip O'Toole <philip.otoole@yahoo.com> | 2017-06-17 12:02:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-17 12:02:47 -0700 |
commit | b951516ea086ff8c8a97eff7a59f2b95458b0a1c (patch) | |
tree | 035930342ee0510d83ab8ee47e4068bdc50247c3 /sqlite3_fts3_test.go | |
parent | Merge pull request #1 from mattn/master (diff) | |
parent | Merge pull request #425 from xxr3376/empty-bytes (diff) | |
download | golite-b951516ea086ff8c8a97eff7a59f2b95458b0a1c.tar.gz golite-b951516ea086ff8c8a97eff7a59f2b95458b0a1c.tar.xz |
Merge pull request #2 from mattn/master
Merge upstream
Diffstat (limited to 'sqlite3_fts3_test.go')
-rw-r--r-- | sqlite3_fts3_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sqlite3_fts3_test.go b/sqlite3_fts3_test.go index 803afbd..e06fc5d 100644 --- a/sqlite3_fts3_test.go +++ b/sqlite3_fts3_test.go @@ -93,7 +93,10 @@ func TestFTS4(t *testing.T) { _, err = db.Exec("DROP TABLE foo") _, err = db.Exec("CREATE VIRTUAL TABLE foo USING fts4(tokenize=unicode61, id INTEGER PRIMARY KEY, value TEXT)") - if err != nil { + switch { + case err != nil && err.Error() == "unknown tokenizer: unicode61": + t.Skip("FTS4 not supported") + case err != nil: t.Fatal("Failed to create table:", err) } |