From 937b255af63f9faf395fea71e6c15a4707b17c44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 22 Jan 2025 22:25:03 +0000 Subject: [PATCH] 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) --- test/lisp/progmodes/eglot-tests.el | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5