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

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

[elpa] externals/company 5c6c494: Accommodate window width in headless t


From: ELPA Syncer
Subject: [elpa] externals/company 5c6c494: Accommodate window width in headless terminal on travis-ci
Date: Sun, 28 Mar 2021 18:57:05 -0400 (EDT)

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

    Accommodate window width in headless terminal on travis-ci
---
 test/frontends-tests.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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



reply via email to

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