From: João Távora Date: Fri, 7 Apr 2023 17:52:06 +0000 (+0100) Subject: ; Eglot: fix misplaced parenthesis in last commit to eglot-tests.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3aedd5c920560fe6456a860a900be40a35e850d2;p=emacs.git ; 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. --- diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index aa0b71a3ae7..62e04539ebf 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el @@ -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))))))