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

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

[nongnu] elpa/emacsql 76acd4f8a1 304/427: Add a test for reserved word e


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 76acd4f8a1 304/427: Add a test for reserved word escaping.
Date: Tue, 13 Dec 2022 02:59:53 -0500 (EST)

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

    Add a test for reserved word escaping.
---
 tests/emacsql-compiler-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/emacsql-compiler-tests.el b/tests/emacsql-compiler-tests.el
index 8a5d59e557..5297245f3c 100644
--- a/tests/emacsql-compiler-tests.el
+++ b/tests/emacsql-compiler-tests.el
@@ -10,6 +10,7 @@
   (should (string= (emacsql-escape-identifier 'foo) "foo"))
   (should (string= (emacsql-escape-identifier 'a\ b) "\"a\\ b\""))
   (should (string= (emacsql-escape-identifier '$foo) "\"$foo\""))
+  (should (string= (emacsql-escape-identifier 'select) "\"select\""))
   (should-error (emacsql-escape-identifier 10))
   (should-error (emacsql-escape-identifier nil))
   (should (string= (emacsql-escape-identifier 'person-id) "person_id"))



reply via email to

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