fix warning in session test
This commit is contained in:
parent
ff779049f1
commit
5c9c0c316c
@ -26,7 +26,6 @@ pub const Context = struct {
|
|||||||
.inlay_hints_show_builtin = true,
|
.inlay_hints_show_builtin = true,
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
.debug,
|
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ test "Request completion in an empty file" {
|
|||||||
defer ctx.deinit();
|
defer ctx.deinit();
|
||||||
|
|
||||||
try ctx.request("textDocument/didOpen",
|
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);
|
, null);
|
||||||
try ctx.request("textDocument/completion",
|
try ctx.request("textDocument/completion",
|
||||||
\\{"textDocument":{"uri":"file:///test.zig"}, "position":{"line":0,"character":0}}
|
\\{"textDocument":{"uri":"file:///test.zig"}, "position":{"line":0,"character":0}}
|
||||||
|
Loading…
Reference in New Issue
Block a user