We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4420686 commit 8e0f3f9Copy full SHA for 8e0f3f9
test/lsp-io-test.el
@@ -34,6 +34,9 @@
34
(cl-letf (((symbol-function 'lsp--parser-on-message) (lambda (_msg _workspace)))
35
((symbol-function 'json-read-from-string)
36
(lambda (msg)
37
+ (push msg lsp--test-results)))
38
+ ((symbol-function 'json-parse-string)
39
+ (lambda (msg &rest _)
40
(push msg lsp--test-results))))
41
(funcall fn nil input)
42
(prog1 lsp--test-results
0 commit comments