We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a66b1 commit 3e1d14dCopy full SHA for 3e1d14d
test/runtests.jl
@@ -211,12 +211,12 @@ r = query(db, "SELECT big(5)")
211
db2 = SQLiteDB()
212
query(db2, "CREATE TABLE tab1 (r REAL, s INT)")
213
214
-@test_throws ErrorException create(db2, "tab1", [2.1 3; 3.4 8])
+@test_throws SQLite.SQLiteException create(db2, "tab1", [2.1 3; 3.4 8])
215
# should not throw any exceptions
216
create(db2, "tab1", [2.1 3; 3.4 8], ifnotexists=true)
217
create(db2, "tab2", [2.1 3; 3.4 8])
218
219
-@test_throws ErrorException drop(db2, "nonexistant")
+@test_throws SQLite.SQLiteException drop(db2, "nonexistant")
220
# should not throw anything
221
drop(db2, "nonexistant", ifexists=true)
222
# should drop "tab2"
0 commit comments