We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79c054f commit 8e8a2f4Copy full SHA for 8e8a2f4
test/test.el
@@ -17,8 +17,6 @@
17
;; You should have received a copy of the GNU General Public License
18
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20
-;;; Commentary:
21
-
22
;;; Code:
23
24
(require 'ert)
@@ -108,7 +106,9 @@
108
106
(should-error (sqlite3-execute-batch db "SELECT *" (lambda (&rest _args)) 'not-null))))
109
107
110
(ert-deftest regression-issue4 ()
111
- "Regression test https://github.com/syohex/emacs-sqlite3/issues/4"
+ "Regression test https://github.com/syohex/emacs-sqlite3/issues/4
+
+Don't raise error sqlite3-execute without callback argument."
112
(let ((db (sqlite3-new)))
113
(sqlite3-execute-batch db "CREATE TABLE foo(id integer primary key, editor text);")
114
(sqlite3-execute-batch db "INSERT INTO foo(editor) values(?)" ["Emacs"])
0 commit comments