From ab66a53cecb54e421c540a8c7cf8d66e2057b98e Mon Sep 17 00:00:00 2001 From: shruti2522 Date: Wed, 15 May 2024 02:53:50 +0530 Subject: [PATCH] updated completion test Signed-off-by: shruti2522 --- kclvm/tools/src/LSP/src/completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kclvm/tools/src/LSP/src/completion.rs b/kclvm/tools/src/LSP/src/completion.rs index 792fb654a..540c589d5 100644 --- a/kclvm/tools/src/LSP/src/completion.rs +++ b/kclvm/tools/src/LSP/src/completion.rs @@ -1259,7 +1259,7 @@ mod tests { label: "Person(b){}".to_string(), kind: Some(CompletionItemKind::CLASS), detail: Some( - "__main__\n\nschema Person[b: int](Base)\nAttributes:\nc: int" + "__main__\n\nschema Person\\[b: int](Base)\nAttributes:\nc: int" .to_string() ), documentation: Some(lsp_types::Documentation::String("".to_string())),