[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 9ee397b2be 413/427: Whitespace cosmetics
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 9ee397b2be 413/427: Whitespace cosmetics |
Date: |
Tue, 13 Dec 2022 03:00:24 -0500 (EST) |
branch: elpa/emacsql
commit 9ee397b2be2c4f00624a363e21b1af0433b360d6
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Whitespace cosmetics
---
emacsql-compiler.el | 3 ++-
tests/emacsql-compiler-tests.el | 10 ++++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/emacsql-compiler.el b/emacsql-compiler.el
index 927a8de330..415f0f4436 100644
--- a/emacsql-compiler.el
+++ b/emacsql-compiler.el
@@ -380,7 +380,8 @@ string returned is wrapped with parentheses."
(cl-values (cond
((null format-string) nil)
((>= parent-precedence-value
- precedence-value) (format "(%s)"
expanded-format-string))
+ precedence-value)
+ (format "(%s)" expanded-format-string))
(t expanded-format-string))
precedence-value))))
diff --git a/tests/emacsql-compiler-tests.el b/tests/emacsql-compiler-tests.el
index 8a2d540b02..9b69a11a0b 100644
--- a/tests/emacsql-compiler-tests.el
+++ b/tests/emacsql-compiler-tests.el
@@ -16,8 +16,8 @@
(should-error (emacsql-escape-identifier 10))
(should-error (emacsql-escape-identifier nil))
(should (string= (emacsql-escape-identifier 'person-id) "person_id"))
- (should (string= (emacsql-escape-identifier
- 'people:person-id) "people.person_id"))
+ (should (string= (emacsql-escape-identifier 'people:person-id)
+ "people.person_id"))
(should (string= (emacsql-escape-identifier 'foo$) "foo$"))
(should (string= (emacsql-escape-identifier 'foo:bar) "foo.bar")))
@@ -129,8 +129,10 @@
([:create-table foo ([a b] (:check (< a b)))] '()
"CREATE TABLE foo (a &NONE, b &NONE, CHECK (a < b));")
([:create-table foo ([a b c]
- (:foreign-key [a b] :references bar [aa bb]
- :on-delete :cascade))] '()
+ ( :foreign-key [a b]
+ :references bar [aa bb]
+ :on-delete :cascade))]
+ '()
(concat "CREATE TABLE foo (a &NONE, b &NONE, c &NONE, FOREIGN KEY (a, b)
"
"REFERENCES bar (aa, bb) ON DELETE CASCADE);"))
;; Template
- [nongnu] elpa/emacsql 373975cbcc 387/427: Remove types from cl-defgeneric arguments, (continued)
- [nongnu] elpa/emacsql 373975cbcc 387/427: Remove types from cl-defgeneric arguments, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9dca599616 383/427: Fix whitespace, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 2fa32d2ab7 395/427: Create new log buffer if existing one isn't live anymore, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 374726060d 385/427: Fix buffer struct allocation size (fixes #91), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql d5c37d905d 379/427: Put emacs-version in path for out-of-package binary, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1ce92a6f4a 397/427: No longer require emacsql-psql in emacsql-pg, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql d03c1a606f 392/427: Include optional .config.mk in Makefile, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6622516e15 393/427: Update library headers, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b405d99aed 408/427: make: Don't use LDFLAGS to set Emacs load-path, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b907279bab 418/427: Fix docstring of emacsql-sqlite-condition-alist, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9ee397b2be 413/427: Whitespace cosmetics,
ELPA Syncer <=
- [nongnu] elpa/emacsql d3d76ea72a 409/427: make: Use essentially same Makefile as for other packages I maintain, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b4d5ef41fe 410/427: make: Don't require pg.el to be available to build and test, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 5818000c7d 412/427: make: Update pg repository url, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 0da3f06e89 416/427: Fix docstring typo, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 20cdad6fe6 417/427: Include sqlite error code in error data, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1becb00945 419/427: Define a few constants as such, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 40c41d0d97 421/427: Release version 3.1.0, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bfbd0c3a73 422/427: Resume development, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 5c4aa1030b 415/427: Do not warn about missing pg functions, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql be95788334 214/427: Use global timeout in tests., ELPA Syncer, 2022/12/13