diff options
author | João Távora <joaotavora@gmail.com> | 2023-04-07 18:52:06 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2023-04-09 15:36:08 +0200 |
commit | 57490fff6ecf3cc1de7d8d833d1b6c895330b762 (patch) | |
tree | 5ee47ec0e41090c562335594db53a5b1bc7254d8 /test | |
parent | 2a62273f3bfd0240c797e9c294e328e669a24170 (diff) | |
download | emacs-57490fff6ecf3cc1de7d8d833d1b6c895330b762.tar.gz |
; Backport: Eglot: fix misplaced parenthesis in last commit to eglot-tests.el
* test/lisp/progmodes/eglot-tests.el
(eglot-test-eldoc-after-completions): Fix misplaced parenthesis.
(cherry picked from commit 3aedd5c920560fe6456a860a900be40a35e850d2)
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/progmodes/eglot-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index 7489ad53645..984c1bf9916 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el @@ -647,7 +647,7 @@ int main() { (completion-at-point) (message (buffer-string)) (should (looking-back "fprintf(?")) - (unless (= (char-before) ?\()) (insert "()") (backward-char) + (unless (= (char-before) ?\() (insert "()") (backward-char)) (eglot--signal-textDocument/didChange) (should (string-match "^fprintf" (eglot--tests-force-full-eldoc)))))) |