diff options
Diffstat (limited to 'test/tclient/tests/single-mode.lua')
-rw-r--r-- | test/tclient/tests/single-mode.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/tclient/tests/single-mode.lua b/test/tclient/tests/single-mode.lua index e0773a7e..897eee31 100644 --- a/test/tclient/tests/single-mode.lua +++ b/test/tclient/tests/single-mode.lua @@ -5,9 +5,7 @@ local util = require 'utility' ---@async lclient():start(function (client) - client:register('workspace/configuration', function () - return nil - end) + client:registerFakers() client:awaitRequest('initialize', { clientInfo = { @@ -33,7 +31,7 @@ print(x) ws.awaitReady() - local locations = client:awaitRequest('textDocument.definition', { + local locations = client:awaitRequest('textDocument/definition', { textDocument = { uri = 'test://single-file.lua' }, position = { line = 1, character = 7 }, }) |