; 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 3aedd5c920)
This commit is contained in:
João Távora 2023-04-07 18:52:06 +01:00 committed by Michael Albinus
parent 2a62273f3b
commit 57490fff6e

View file

@ -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))))))