From 3a8d4c7bfb5daeaec5ff55fa8cf39e7fe0f82f9d Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Sun, 28 Mar 2021 17:47:10 +0300 Subject: [PATCH] Fix completions test --- tests/sessions.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sessions.zig b/tests/sessions.zig index dce35e9..125c7f5 100644 --- a/tests/sessions.zig +++ b/tests/sessions.zig @@ -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}]}} }); }