Index: third_party/sqlite/src/test/index3.test |
diff --git a/third_party/sqlite/src/test/index3.test b/third_party/sqlite/src/test/index3.test |
index 9549f55b0599f45e62b84ab469e27e7ee04209eb..161ddecc01277b2d94572fd1b0f190ad555e5cf2 100644 |
--- a/third_party/sqlite/src/test/index3.test |
+++ b/third_party/sqlite/src/test/index3.test |
@@ -49,10 +49,8 @@ do_test index3-99.1 { |
UPDATE sqlite_master SET sql='nonsense'; |
} |
db close |
- sqlite3 db test.db |
- catchsql { |
- DROP INDEX i1; |
- } |
+ catch { sqlite3 db test.db } |
+ catchsql { DROP INDEX i1 } |
} {1 {malformed database schema (t1) - near "nonsense": syntax error}} |
finish_test |