emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/company b3b9fa37ef: Use a different function, to ensure


From: ELPA Syncer
Subject: [elpa] externals/company b3b9fa37ef: Use a different function, to ensure success in older emacsen
Date: Sun, 5 Mar 2023 21:57:26 -0500 (EST)

branch: externals/company
commit b3b9fa37ef9fd02471779130a0b53d87fa726ac1
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Use a different function, to ensure success in older emacsen
---
 test/capf-tests.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/capf-tests.el b/test/capf-tests.el
index e43e957aaf..37efa8d541 100644
--- a/test/capf-tests.el
+++ b/test/capf-tests.el
@@ -70,11 +70,11 @@
 (ert-deftest company-basic-capf-highlighting ()
   "Test basic `company-capf' support, with basic prefix completion."
   (company-capf-with-buffer
-    "(with-lo|)"
+    "(with-ti|)"
     (company-mode)
     (company-complete)
     (should company-candidates)
-    (let* ((cand (car (member "with-local-quit" company-candidates)))
+    (let* ((cand (car (member "with-timeout-suspend" company-candidates)))
            (render
             (and cand
                  (company-fill-propertize cand nil (length cand) nil nil 
nil))))
@@ -83,9 +83,9 @@
       (should
        (company--equal-including-properties
         render
-        #("with-local-quit"
-          0 10 (face (company-tooltip-common company-tooltip))   ; "with"
-          10 15 (face company-tooltip)))))))
+        #("with-timeout-suspend"
+          0 12 (face (company-tooltip-common company-tooltip))   ; "with"
+          12 20 (face company-tooltip)))))))
 
 
 ;; Re. "perfect" highlighting of the non-prefix in company-capf matches, it is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]