From 42be29a1392e95d271242503b3dc0e22b94eab1a Mon Sep 17 00:00:00 2001 From: Heng Lu Date: Fri, 12 Jan 2024 13:36:22 +0800 Subject: [PATCH] fix test --- .../TestCompletion_codeSample/expect.json | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/internal/langserver/handlers/testdata/TestCompletion_codeSample/expect.json b/internal/langserver/handlers/testdata/TestCompletion_codeSample/expect.json index 0c4e0d9ea..636e6c365 100644 --- a/internal/langserver/handlers/testdata/TestCompletion_codeSample/expect.json +++ b/internal/langserver/handlers/testdata/TestCompletion_codeSample/expect.json @@ -330,6 +330,36 @@ "command": "editor.action.triggerSuggest" } }, + { + "label": "ignore_body_changes", + "labelDetails": {}, + "kind": 10, + "detail": "ignore_body_changes (Optional)", + "documentation": { + "kind": "markdown", + "value": "Type: `list` \nA list of properties that should be ignored when comparing the `body` with its current state..\n" + }, + "sortText": "0010", + "insertTextFormat": 2, + "insertTextMode": 2, + "textEdit": { + "range": { + "start": { + "line": 2, + "character": 2 + }, + "end": { + "line": 2, + "character": 2 + } + }, + "newText": "ignore_body_changes = [$0]" + }, + "command": { + "title": "Suggest", + "command": "editor.action.triggerSuggest" + } + }, { "label": "ignore_casing", "labelDetails": {}, @@ -339,7 +369,7 @@ "kind": "markdown", "value": "Type: `bool` \nWhether ignore incorrect casing returned in `body` to suppress plan-diff. Defaults to `false`.\n" }, - "sortText": "0010", + "sortText": "0011", "insertTextFormat": 2, "insertTextMode": 2, "textEdit": { @@ -369,7 +399,7 @@ "kind": "markdown", "value": "Type: `bool` \nWhether ignore not returned properties like credentials in `body` to suppress plan-diff. Defaults to `false`.\n" }, - "sortText": "0011", + "sortText": "0012", "insertTextFormat": 2, "insertTextMode": 2, "textEdit": {