[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elpa 2b16952 44/71: Try to make hover-multiline-doc-loc
From: |
João Távora |
Subject: |
[elpa] externals/elpa 2b16952 44/71: Try to make hover-multiline-doc-locus test pass on Travis |
Date: |
Wed, 16 Dec 2020 11:42:23 -0500 (EST) |
branch: externals/elpa
commit 2b16952d702a4784fe243dc5ecda02e2c5ae7d8d
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Try to make hover-multiline-doc-locus test pass on Travis
A batch emacs apparently runs with a frame-width of 10
$ emacs -Q --batch --eval '(princ (frame-width))'
10
This could possibly not be enough, for the hover-multiline-doc-locus
test, which uses pyls docstrings, to avoid truncation of
"datetime(...)" into "datetim...". The failure doesn't happen
locally, but changing the assertion to check one character less isn't
very problematic.
* eglot-tests.el (hover-multiline-doc-locus): Try to make test
pass on Travis.
---
eglot-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eglot-tests.el b/eglot-tests.el
index 059a565..2f8e25f 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -576,14 +576,14 @@ def foobazquuz(d, e, f): pass
(setq-local eldoc-echo-area-use-multiline-p nil)
(eglot-eldoc-function)
(while (not eldoc-last-message) (accept-process-output nil 0.1))
- (should (string-match "datetime" eldoc-last-message))
+ (should (string-match "datetim" eldoc-last-message))
(should (not (cl-find ?\n eldoc-last-message)))
;; multi-line
(setq eldoc-last-message nil)
(setq-local eldoc-echo-area-use-multiline-p t)
(eglot-eldoc-function)
(while (not eldoc-last-message) (accept-process-output nil 0.1))
- (should (string-match "datetime" eldoc-last-message))
+ (should (string-match "datetim" eldoc-last-message))
(should (cl-find ?\n eldoc-last-message)))))
(ert-deftest python-autopep-formatting ()
- [elpa] externals/elpa 91a7cba 33/71: Fix #474, #478: prompt for executable if supplied name does not exist, (continued)
- [elpa] externals/elpa 91a7cba 33/71: Fix #474, #478: prompt for executable if supplied name does not exist, João Távora, 2020/12/16
- [elpa] externals/elpa 9efe207 05/71: Make curl invocation fail more explicitly in .travis.yml, João Távora, 2020/12/16
- [elpa] externals/elpa 73bc752 11/71: Close #441: shield tests from some user customizations, João Távora, 2020/12/16
- [elpa] externals/elpa b6519a5 16/71: Per #446: Add tests for eglot-server-programs, João Távora, 2020/12/16
- [elpa] externals/elpa 9bc58df 17/71: Fix #446: unbreak eglot--guess-contact for host-and-port case, João Távora, 2020/12/16
- [elpa] externals/elpa 197984c 27/71: Remove trailing whitespaces, João Távora, 2020/12/16
- [elpa] externals/elpa a0249c8 23/71: Per #437: remap display-local-help (C-h .) to eglot-help-at-point, João Távora, 2020/12/16
- [elpa] externals/elpa ee87519 41/71: Replace uses of project-roots with project-root, João Távora, 2020/12/16
- [elpa] externals/elpa 3b01561 39/71: Close #459: rework computation of string given to Eldoc (again), João Távora, 2020/12/16
- [elpa] externals/elpa bf75312 35/71: Require Xref, Project and Eldoc from GNU ELPA, João Távora, 2020/12/16
- [elpa] externals/elpa 2b16952 44/71: Try to make hover-multiline-doc-locus test pass on Travis,
João Távora <=
- [elpa] externals/elpa ac9239b 46/71: Fix small problems around Eglot's help buffer, João Távora, 2020/12/16
- [elpa] externals/elpa 433779d 49/71: * eglot.el (Package-Requires): Require Flymake 1.0.9 and eldoc 1.2.0, João Távora, 2020/12/16
- [elpa] externals/elpa e3ce64a 54/71: Fix #510: use a hash-table for storing resolved completions, João Távora, 2020/12/16
- [elpa] externals/elpa e5fefc7 56/71: Really unbreak eldoc-related tests, João Távora, 2020/12/16
- [elpa] externals/elpa 2172641 65/71: Fix #558: Don't force eglot-strict-mode completely in eglot--dcase, João Távora, 2020/12/16
- [elpa] externals/elpa f9a11fe 63/71: Per #300: Don't send JSON null (Elisp nil) down the wire, João Távora, 2020/12/16
- [elpa] externals/elpa b19b294 64/71: Close #558: handle LSP 3.15's isPreferred code action property, João Távora, 2020/12/16
- [elpa] externals/elpa c34e2f6 50/71: Really install latest dependencies, João Távora, 2020/12/16
- [elpa] externals/elpa 5a2cde9 59/71: Close #511: add built-int support for Godot Engine, João Távora, 2020/12/16
- [elpa] externals/elpa 38971d3 66/71: Fix #367: don't let M-x fill-paragraph break didChange, João Távora, 2020/12/16