Fix completions test

This commit is contained in:
Alexandros Naskos 2021-03-28 17:47:10 +03:00
parent 48b5ca5385
commit 3a8d4c7bfb
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":"","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":"","insertText":"std","insertTextFormat":1,"detail":"const std = @import(\"std\")","documentation":null}]}}
});
}