Skip to content

Commit 1d72244

Browse files
committed
Add failure test case
1 parent e8489f3 commit 1d72244

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@
103103
(lambda (row fields)
104104
(cl-incf rows)
105105
(should (member (car row) '("Alice")))))
106-
(should (= rows 1)))))
106+
(should (= rows 1)))
107+
108+
(should-error (sqlite3-execute-batch db "SELECT *" (lambda (&rest _args)) 'not-null))))
107109

108110
;;; test-sqlite3.el ends here

0 commit comments

Comments
 (0)