[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 6ff9f054cb 22/24: More fixing of tests
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/company 6ff9f054cb 22/24: More fixing of tests |
|
Date: |
Mon, 6 Nov 2023 09:57:39 -0500 (EST) |
branch: externals/company
commit 6ff9f054cbcfd26b538913552eb352fa4d8ce2a7
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
More fixing of tests
---
company.el | 3 ++-
test/frontends-tests.el | 6 ++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/company.el b/company.el
index 2209d950cd..a3a92b481d 100644
--- a/company.el
+++ b/company.el
@@ -2909,7 +2909,8 @@ from the candidates list.")
;; `display-line-numbers-mode' is enabled in internal buffers
;; that breaks width calculation, so need to disable (bug#59311)
(when (bound-and-true-p display-line-numbers-mode)
- (display-line-numbers-mode -1))
+ (with-no-warnings ;; Emacs 25
+ (display-line-numbers-mode -1)))
(delete-region (point-min) (point-max))
(insert string)
(let ((wb (window-buffer)))
diff --git a/test/frontends-tests.el b/test/frontends-tests.el
index d1d0478385..c3fe3c38a4 100644
--- a/test/frontends-tests.el
+++ b/test/frontends-tests.el
@@ -483,8 +483,10 @@
(should (equal-including-properties
(company-modify-line str "xx" 0)
"xx-foobar"))
- ;; `equal-including-properties' compares with `eq' in Emacs 28-.
- (should (ert-equal-including-properties
+ (should (funcall
+ (if (version< emacs-version "29")
+ #'ert-equal-including-properties
+ #'equal-including-properties)
(company-modify-line str "zz" (* 10 (frame-char-width)))
(concat "-*-foobar"
(propertize " " 'display `(space :width
(,(frame-char-width))))
- [elpa] externals/company 57b6414a3a 14/24: Merge branch 'master' into cjk-string-width, (continued)
- [elpa] externals/company 57b6414a3a 14/24: Merge branch 'master' into cjk-string-width, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6c579f7000 13/24: Add new test, for the previous, ELPA Syncer, 2023/11/06
- [elpa] externals/company ec51f51b22 04/24: Define company-safe-pixel-substring to do more accurate popup positioning, ELPA Syncer, 2023/11/06
- [elpa] externals/company d19d7a7ae7 23/24: Fix CI in Emacs 29, ELPA Syncer, 2023/11/06
- [elpa] externals/company 705af6470b 17/24: Fix an edge case, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6206db868a 18/24: Rewrite company-safe-pixel-substring to make more tests pass in batch, ELPA Syncer, 2023/11/06
- [elpa] externals/company 44dbc23679 07/24: Fix edge case, ELPA Syncer, 2023/11/06
- [elpa] externals/company 5173cc9693 21/24: Fix CI in Emacs 28-, ELPA Syncer, 2023/11/06
- [elpa] externals/company a1ef2a06a0 20/24: Update NEWS, ELPA Syncer, 2023/11/06
- [elpa] externals/company 7a4bc77e1c 16/24: company-pseudo-tooltip-show: Slight performance improvement, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6ff9f054cb 22/24: More fixing of tests,
ELPA Syncer <=
- [elpa] externals/company f6b7bc5c35 10/24: Add handling of buffer-invisibility-spec to company-safe-pixel-substring, ELPA Syncer, 2023/11/06
- [elpa] externals/company fb21b70d97 11/24: Fix tests and indicated regressions, ELPA Syncer, 2023/11/06
- [elpa] externals/company 1276d0ec1c 15/24: Replace default-font-width with frame-char-width inside company-safe-pixel-substring, ELPA Syncer, 2023/11/06
- [elpa] externals/company 87351c2c59 02/24: Use vertical-motion instead of move-to-column, ELPA Syncer, 2023/11/06
- [elpa] externals/company 4301ea14c5 24/24: Merge pull request #1394 from company-mode/cjk-string-width, ELPA Syncer, 2023/11/06
- [elpa] externals/company ff300894a3 19/24: Add a comment, ELPA Syncer, 2023/11/06