We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11837b9 commit 4381cfcCopy full SHA for 4381cfc
test/emacs-test.el
@@ -59,9 +59,9 @@
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 'powershell-mode (eglot--major-modes lsp)))
+ (should (string= (eglot--language-id lsp) "powershell")))
65
(sleep-for 5) ; TODO: Wait for "textDocument/publishDiagnostics" instead
66
(flymake-start)
67
(goto-char (point-min))
0 commit comments