aboutsummaryrefslogtreecommitdiff
path: root/test/fts3aj.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/fts3aj.test')
-rw-r--r--test/fts3aj.test20
1 files changed, 9 insertions, 11 deletions
diff --git a/test/fts3aj.test b/test/fts3aj.test
index f3d46f2ad..0c8969116 100644
--- a/test/fts3aj.test
+++ b/test/fts3aj.test
@@ -6,8 +6,6 @@
# This file implements regression tests for SQLite library. This
# tests creating fts3 tables in an attached database.
#
-# $Id: fts3aj.test,v 1.1 2007/08/20 17:38:42 shess Exp $
-#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -25,14 +23,14 @@ sqlite3 db2 test2.db
db eval {
CREATE VIRTUAL TABLE t3 USING fts3(content);
- INSERT INTO t3 (rowid, content) VALUES(1, "hello world");
+ INSERT INTO t3 (rowid, content) VALUES(1, 'hello world');
}
db2 eval {
CREATE VIRTUAL TABLE t1 USING fts3(content);
- INSERT INTO t1 (rowid, content) VALUES(1, "hello world");
- INSERT INTO t1 (rowid, content) VALUES(2, "hello there");
- INSERT INTO t1 (rowid, content) VALUES(3, "cruel world");
+ INSERT INTO t1 (rowid, content) VALUES(1, 'hello world');
+ INSERT INTO t1 (rowid, content) VALUES(2, 'hello there');
+ INSERT INTO t1 (rowid, content) VALUES(3, 'cruel world');
}
# This has always worked because the t1_* tables used by fts3 will be
@@ -56,9 +54,9 @@ do_test fts3aj-1.2 {
execsql {
ATTACH DATABASE 'test2.db' AS two;
CREATE VIRTUAL TABLE two.t2 USING fts3(content);
- INSERT INTO t2 (rowid, content) VALUES(1, "hello world");
- INSERT INTO t2 (rowid, content) VALUES(2, "hello there");
- INSERT INTO t2 (rowid, content) VALUES(3, "cruel world");
+ INSERT INTO t2 (rowid, content) VALUES(1, 'hello world');
+ INSERT INTO t2 (rowid, content) VALUES(2, 'hello there');
+ INSERT INTO t2 (rowid, content) VALUES(3, 'cruel world');
SELECT rowid FROM t2 WHERE t2 MATCH 'hello';
DETACH DATABASE two;
}
@@ -74,8 +72,8 @@ do_test fts3aj-1.3 {
ATTACH DATABASE 'test2.db' AS two;
CREATE VIRTUAL TABLE two.t3 USING fts3(content);
- INSERT INTO two.t3 (rowid, content) VALUES(2, "hello there");
- INSERT INTO two.t3 (rowid, content) VALUES(3, "cruel world");
+ INSERT INTO two.t3 (rowid, content) VALUES(2, 'hello there');
+ INSERT INTO two.t3 (rowid, content) VALUES(3, 'cruel world');
SELECT rowid FROM two.t3 WHERE t3 MATCH 'hello';
DETACH DATABASE two;