]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: unbreak a rarely run test
authorJoão Távora <joaotavora@gmail.com>
Wed, 22 Jan 2025 22:25:03 +0000 (22:25 +0000)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 Jan 2025 10:28:47 +0000 (11:28 +0100)
* 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

index 5d7fed793749d50ff0af0cd29144714311876aa5..cc269abea082be7d1fdc8d518857574f6b9772b8 100644 (file)
@@ -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