Skip to content

Commit 4381cfc

Browse files
committed
Fix Emacs end-to-end test
The way the class properties are accessed changed.
1 parent 11837b9 commit 4381cfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/emacs-test.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
(should (apply #'eglot--connect (eglot--guess-contact)))
6060
(should (eglot-current-server))
6161
(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")))
62+
(should (string= (eglot--project-nickname lsp) "PowerShellEditorServices"))
63+
(should (member 'powershell-mode (eglot--major-modes lsp)))
64+
(should (string= (eglot--language-id lsp) "powershell")))
6565
(sleep-for 5) ; TODO: Wait for "textDocument/publishDiagnostics" instead
6666
(flymake-start)
6767
(goto-char (point-min))

0 commit comments

Comments
 (0)