]> git.eshelyaron.com Git - emacs.git/commitdiff
; Eglot: fix misplaced parenthesis in last commit to eglot-tests.el
authorJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 17:52:06 +0000 (18:52 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 17:52:24 +0000 (18:52 +0100)
* test/lisp/progmodes/eglot-tests.el
(eglot-test-eldoc-after-completions): Fix misplaced parenthesis.

test/lisp/progmodes/eglot-tests.el

index aa0b71a3ae7e2333676a11a23bbfe473595c5e87..62e04539ebf97a8780b565def506dfe72dd3dfa5 100644 (file)
@@ -665,7 +665,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))))))