forked from joaotavora/eglot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per joaotavora#474, joaotavora#478: add more tests for `eglot--guess-…
…contact' Modify eglot--guessing-contact so that (1) each test is run once with eglot--guessing-contact INTERACTIVE argument set to t, and again with it set to nil; (2) executable-find is mocked, and (3) arguments passed to read-shell-command are captured and made available to tests. Co-authored-by: João Távora <joaotavora@gmail.com> * eglot-tests.el (eglot--guessing-contact): Rework. (eglot-server-programs-simple-existing-executable): New test. (eglot-server-programs-simple-executable) (eglot-server-programs-executable-multiple-major-modes) (eglot-server-programs-executable-with-arg) (eglot-server-programs-executable-with-args-and-autoport) (eglot-server-programs-host-and-port) (eglot-server-programs-host-and-port-and-tcp-args) (eglot-server-programs-class-name-and-plist) (eglot-server-programs-class-name-and-contact-spec) (eglot-server-programs-function): Add new test assertions.
- Loading branch information
1 parent
da7ff48
commit e690e8c
Showing
1 changed file
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters