summaryrefslogtreecommitdiffstats
path: root/test/misc8.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc8.test')
-rw-r--r--test/misc8.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/misc8.test b/test/misc8.test
index 32b3a59..60b44fe 100644
--- a/test/misc8.test
+++ b/test/misc8.test
@@ -100,6 +100,11 @@ do_execsql_test misc8-2.1 {
# 2016-02-26: An assertion fault found by the libFuzzer project
#
+ifcapable allow_rowid_in_view {
+ set nosuch "1 {ambiguous column name: rowid}"
+} else {
+ set nosuch "1 {no such column: rowid}"
+}
do_catchsql_test misc8-3.0 {
SELECT *
FROM
@@ -110,7 +115,7 @@ do_catchsql_test misc8-3.0 {
(SELECT 6 AS j UNION ALL SELECT 7) AS x4
WHERE i<rowid
ORDER BY 1;
-} {1 {no such column: rowid}}
+} $nosuch
# The SQLITE_DBCONFIG_MAINDBNAME interface
#