We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11837b9 commit 6790594Copy full SHA for 6790594
test/emacs-test.el
@@ -59,9 +59,8 @@
59
(should (apply #'eglot--connect (eglot--guess-contact)))
60
(should (eglot-current-server))
61
(let ((lsp (eglot-current-server)))
62
- (should (string= (oref lsp project-nickname) "PowerShellEditorServices"))
63
- (should (member 'powershell-mode (oref lsp major-modes)))
64
- (should (string= (oref lsp language-id) "powershell")))
+ (should (string= (eglot--project-nickname lsp) "PowerShellEditorServices"))
+ (should (member (cons 'powershell-mode "powershell") (eglot--languages lsp))))
65
(sleep-for 5) ; TODO: Wait for "textDocument/publishDiagnostics" instead
66
(flymake-start)
67
(goto-char (point-min))
0 commit comments