summaryrefslogtreecommitdiff
path: root/test/tclient/tests/single-mode.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-18 16:06:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-18 16:06:26 +0800
commitb7fdf179a9015e3bef83f89c5a0811f1a67ef4d0 (patch)
treedb0a36705b76f5ecf83b6de4612f035a6d9f43f7 /test/tclient/tests/single-mode.lua
parent9cc6ca5866fcfcf22bb42f9089ff21ca51a96987 (diff)
downloadlua-language-server-b7fdf179a9015e3bef83f89c5a0811f1a67ef4d0.zip
update
Diffstat (limited to 'test/tclient/tests/single-mode.lua')
-rw-r--r--test/tclient/tests/single-mode.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/tclient/tests/single-mode.lua b/test/tclient/tests/single-mode.lua
index 897eee31..d26eb98a 100644
--- a/test/tclient/tests/single-mode.lua
+++ b/test/tclient/tests/single-mode.lua
@@ -6,16 +6,7 @@ local util = require 'utility'
---@async
lclient():start(function (client)
client:registerFakers()
-
- client:awaitRequest('initialize', {
- clientInfo = {
- name = 'unit-test',
- version = 'single-mode',
- },
- rootUri = nil,
- })
-
- client:notify('initialized')
+ client:initialize()
client:notify('textDocument/didOpen', {
textDocument = {