branch: elpa/emacsql commit 51224aab7afd3dbfe3d6b146271c75f1fc68d4ca Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Add unit test for last change. --- tests/emacsql-compiler-tests.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/emacsql-compiler-tests.el b/tests/emacsql-compiler-tests.el index c780101f99..8a5d59e557 100644 --- a/tests/emacsql-compiler-tests.el +++ b/tests/emacsql-compiler-tests.el @@ -175,7 +175,11 @@ ([:where (or a $i1)] '(b) "WHERE a OR b;") ([:where (and $i1 $i2 $i3)] '(a b c) - "WHERE a AND b AND c;"))) + "WHERE a AND b AND c;") + ([:where (is foo (not nil))] '() + "WHERE foo IS NOT NULL;") + ([:where (= attrib :name)] '() + "WHERE attrib = ':name';"))) (ert-deftest emacsql-transaction () (emacsql-tests-with-queries