Skip to content

Commit a247543

Browse files
committed
Fix tests
1 parent 347b743 commit a247543

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/lsp-dart-test.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@
5656
(with-mock
5757
(stub lsp-dart-dart-command => "/sdk/bin/dart")
5858
(stub lsp-dart-get-sdk-dir => "/sdk")
59+
(mock (pkg-info-version-info 'lsp-dart) => "1.123.456")
5960
(should (equal (lsp-dart--server-command)
6061
'("/sdk/bin/dart"
6162
"/sdk/bin/snapshots/analysis_server.dart.snapshot"
62-
"--lsp")))))
63+
"--lsp"
64+
"--client-id emacs.lsp-dart"
65+
"--client-version 1.123.456")))))
6366

6467
(ert-deftest lsp-dart--handle-analyzer-status--when-analyzing-test ()
6568
(with-mock

0 commit comments

Comments
 (0)