emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 54247e4b5e 127/427: Add another insertion unit tes


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 54247e4b5e 127/427: Add another insertion unit test.
Date: Tue, 13 Dec 2022 02:59:34 -0500 (EST)

branch: elpa/emacsql
commit 54247e4b5e65a4e7b803cd73afe638cd82963c92
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Add another insertion unit test.
---
 emacsql-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emacsql-tests.el b/emacsql-tests.el
index 377e5a794c..3d048e3849 100644
--- a/emacsql-tests.el
+++ b/emacsql-tests.el
@@ -88,6 +88,8 @@
   (emacsql-tests-with-queries
     ([:insert :into foo :values [nil $1]] '(10.1)
      "INSERT INTO foo VALUES (NULL, 10.1);")
+    ([:insert :into (foo [a b]) :values $1] '([1 2])
+     "INSERT INTO foo (a, b) VALUES (1, 2);")
     ([:replace :into $1 :values $2] '(bar ([1 2] [3 4]))
      "REPLACE INTO bar VALUES (1, 2), (3, 4);")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]