branch: elpa/emacsql commit 8aade12994acd468682d7f3384df1f4deee5cf13 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Add a unit test for vector update. --- emacsql-tests.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacsql-tests.el b/emacsql-tests.el index f53cd679ca..cec191f6a9 100644 --- a/emacsql-tests.el +++ b/emacsql-tests.el @@ -67,7 +67,9 @@ (emacsql-tests-query [:update people :set (= id $1)] '(10) "UPDATE people SET id = 10;") (emacsql-tests-query [:select * :from people :where (in name $1)] '([FOO BAR]) - "SELECT * FROM people WHERE name IN ('FOO', 'BAR');")) + "SELECT * FROM people WHERE name IN ('FOO', 'BAR');") + (emacsql-tests-query [:insert :into foo :values [nil $1]] '(10.1) + "INSERT INTO foo VALUES (NULL, 10.1);")) (ert-deftest emacsql-system () (emacsql-with-connection (db nil)