[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 f2d212c6966: Fix a couple of eglot-tests
From: |
Basil L. Contovounesios |
Subject: |
emacs-29 f2d212c6966: Fix a couple of eglot-tests |
Date: |
Tue, 11 Apr 2023 02:41:45 -0400 (EDT) |
branch: emacs-29
commit f2d212c696692879254b7fc7ca2a9b0a2999e557
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
Fix a couple of eglot-tests
* test/lisp/progmodes/eglot-tests.el
(eglot-test-rust-analyzer-watches-files): Bump timeout.
(eglot-test-json-basic): Check for yas-minor-mode before using it,
like other tests do (bug#61637).
---
test/lisp/progmodes/eglot-tests.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/lisp/progmodes/eglot-tests.el
b/test/lisp/progmodes/eglot-tests.el
index 984c1bf9916..7ce0116636d 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -404,7 +404,7 @@ Pass TIMEOUT to `eglot--with-timeout'."
)
(should (eglot--tests-connect))
(let (register-id)
- (eglot--wait-for (s-requests 1)
+ (eglot--wait-for (s-requests 3)
(&key id method &allow-other-keys)
(setq register-id id)
(string= method "client/registerCapability"))
@@ -801,6 +801,7 @@ int main() {
(ert-deftest eglot-test-json-basic ()
"Test basic autocompletion in vscode-json-languageserver."
(skip-unless (executable-find "vscode-json-languageserver"))
+ (skip-unless (fboundp 'yas-minor-mode))
(eglot--with-fixture
'(("project" .
(("p.json" . "{\"foo.b")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 f2d212c6966: Fix a couple of eglot-tests,
Basil L. Contovounesios <=