aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/intarray.test8
-rw-r--r--test/vtab1.test4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/intarray.test b/test/intarray.test
index 049f117cc..2250027c5 100644
--- a/test/intarray.test
+++ b/test/intarray.test
@@ -47,12 +47,12 @@ do_test intarray-1.1 {
}
} {table ia1 table ia2 table ia3 table ia4}
-# Verify the inability to DROP and recreate an intarray virtual table.
+# Verify the ability to DROP and recreate an intarray virtual table.
do_test intarray-1.1b {
db eval {DROP TABLE ia1}
- set rc [catch {sqlite3_intarray_create db ia1} msg]
- lappend rc $msg
-} {1 SQLITE_MISUSE}
+ set rc [catch {sqlite3_intarray_create db ia1} ia1]
+ lappend rc $ia1
+} {/0 [0-9A-Z]+/}
do_test intarray-1.2 {
db eval {
diff --git a/test/vtab1.test b/test/vtab1.test
index 0a45c4e2d..e8891a632 100644
--- a/test/vtab1.test
+++ b/test/vtab1.test
@@ -1352,7 +1352,7 @@ foreach {tn sql res filter} {
do_execsql_test 18.2.x { PRAGMA case_sensitive_like = OFF }
#-------------------------------------------------------------------------
-# Test that an existing module may not be overridden.
+# Test that it is ok to override and existing module.
#
do_test 19.1 {
sqlite3 db2 test.db
@@ -1360,7 +1360,7 @@ do_test 19.1 {
} SQLITE_OK
do_test 19.2 {
register_echo_module [sqlite3_connection_pointer db2]
-} SQLITE_MISUSE
+} SQLITE_OK
do_test 19.3 {
db2 close
} {}