From: João Távora Date: Wed, 22 Jan 2025 22:25:03 +0000 (+0000) Subject: Eglot: unbreak a rarely run test X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=937b255af63f9faf395fea71e6c15a4707b17c44;p=emacs.git Eglot: unbreak a rarely run test * test/lisp/progmodes/eglot-tests.el (eglot-test-snippet-completions-with-company): Don't expect fooba to be there, do expect two completions to be candidates. (cherry picked from commit 92c5c1b786968b6d80f5d27455a40443a3a8f0e8) --- diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index 5d7fed79374..cc269abea08 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el @@ -798,7 +798,6 @@ int main() { (insert "foo") (company-mode) (company-complete) - (should (looking-back "fooba")) (should (= 2 (length company-candidates))) ;; this last one is brittle, since there it is possible that ;; clangd will change the representation of this candidate