Skip to content

Commit 3e1d14d

Browse files
committed
Used wrong exception in 84a66b1.
1 parent 84a66b1 commit 3e1d14d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ r = query(db, "SELECT big(5)")
211211
db2 = SQLiteDB()
212212
query(db2, "CREATE TABLE tab1 (r REAL, s INT)")
213213

214-
@test_throws ErrorException create(db2, "tab1", [2.1 3; 3.4 8])
214+
@test_throws SQLite.SQLiteException create(db2, "tab1", [2.1 3; 3.4 8])
215215
# should not throw any exceptions
216216
create(db2, "tab1", [2.1 3; 3.4 8], ifnotexists=true)
217217
create(db2, "tab2", [2.1 3; 3.4 8])
218218

219-
@test_throws ErrorException drop(db2, "nonexistant")
219+
@test_throws SQLite.SQLiteException drop(db2, "nonexistant")
220220
# should not throw anything
221221
drop(db2, "nonexistant", ifexists=true)
222222
# should drop "tab2"

0 commit comments

Comments
 (0)