Fix session tests

This commit is contained in:
Alexandros Naskos 2021-04-05 12:03:08 +03:00
parent d397f1119e
commit f4e777ed7b
No known key found for this signature in database
GPG Key ID: 02BF2E72B0EA32D2

View File

@ -138,7 +138,7 @@ test "Requesting a completion with no trailing whitespace" {
try sendRequest(completion_req, process);
try sendRequest(shutdown_message, process);
try consumeOutputAndWait(process, .{
\\{"jsonrpc":"2.0","id":2,"result":{"isIncomplete":false,"items":[{"label":"std","kind":21,"textEdit":null,"filterText":"","insertText":"std","insertTextFormat":1,"detail":"const std = @import(\"std\")","documentation":null}]}}
\\{"jsonrpc":"2.0","id":2,"result":{"isIncomplete":false,"items":[{"label":"std","kind":21,"textEdit":null,"filterText":"null","insertText":"std","insertTextFormat":1,"detail":"const std = @import(\"std\")","documentation":null}]}}
});
}