Commit 26e7c65f by Dane Springmeyer

fix the fts test added in 42aa8c88, which was…

fix the fts test added in 42aa8c88, which was not valid for expresso and must never have worked (just hung)
parent cbd74f7c
/*jshint strict:true node:true es5:true onevar:true laxcomma:true laxbreak:true eqeqeq:true immed:true latedef:true*/ var sqlite = require('sqlite3')
(function () { var assert = require('assert')
"use strict";
var sqlite = require('sqlite3') exports['test fts content'] = function(beforeExit) {
, assert = require('assert') var db = new sqlite.Database(":memory:");
, db
;
function readyForQuery() {
db.exec('CREATE VIRTUAL TABLE t1 USING fts4(content="", a, b, c);', function (err) { db.exec('CREATE VIRTUAL TABLE t1 USING fts4(content="", a, b, c);', function (err) {
assert.ok(!err); assert.ok(!err);
}); });
} }
db = new sqlite.Database(":memory:", readyForQuery);
}());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment