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

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

[elpa] externals/company 4ce6c58 2/2: Fix puzzling test failure on CI in


From: ELPA Syncer
Subject: [elpa] externals/company 4ce6c58 2/2: Fix puzzling test failure on CI in non-graphical mode
Date: Wed, 5 May 2021 20:57:08 -0400 (EDT)

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

    Fix puzzling test failure on CI in non-graphical mode
    
    It only failed in Emacs 27 and older, but there's no way I'm going to track 
down the reason.
    
    Probably revert this in a decade or so when Emacs 27 support can be dropped.
---
 test/frontends-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/frontends-tests.el b/test/frontends-tests.el
index 6b805b0..c08fb7f 100644
--- a/test/frontends-tests.el
+++ b/test/frontends-tests.el
@@ -269,14 +269,14 @@
   (let* (company-show-numbers
          (company-candidates '("ArrayList"))
          (company-candidates-length 1)
-         (company-tooltip-maximum-width 9)
+         (company-tooltip-maximum-width 7)
          (company-package-root default-directory)
          (company-format-margin-function (lambda (candidate selected)
                                            "X"))
          (company-backend (lambda (c &rest _) (pcase c (`kind 'class)))))
     (should (ert-equal-including-properties
              (cadr (company--create-lines 0 999))
-             #("XArrayList " 0 11
+             #("XArrayLi " 0 9
                (face (company-tooltip-selection company-tooltip)
                      mouse-face (company-tooltip-mouse)))))))
 



reply via email to

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