fix warning in session test

This commit is contained in:
Techatrix 2022-09-12 00:05:26 +02:00
parent ff779049f1
commit 5c9c0c316c
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ pub const Context = struct {
.inlay_hints_show_builtin = true,
},
null,
.debug,
),
};

View File

@ -8,7 +8,7 @@ test "Request completion in an empty file" {
defer ctx.deinit();
try ctx.request("textDocument/didOpen",
\\{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///test.zig","languageId":"zig","version":420,"text":""}}}
\\{"textDocument":{"uri":"file:///test.zig","languageId":"zig","version":420,"text":""}}
, null);
try ctx.request("textDocument/completion",
\\{"textDocument":{"uri":"file:///test.zig"}, "position":{"line":0,"character":0}}