From c9e4b0bb2db81e9bb562df4d92ac4bcc6c80f047 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Wed, 5 Jul 2017 23:49:14 +0300 Subject: [PATCH] Update tests --- ...ng-language-services-custom-languages.html | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/test/playground.generated/extending-language-services-custom-languages.html b/test/playground.generated/extending-language-services-custom-languages.html index 849cbc0e..26095a27 100644 --- a/test/playground.generated/extending-language-services-custom-languages.html +++ b/test/playground.generated/extending-language-services-custom-languages.html @@ -73,18 +73,22 @@ monaco.languages.registerCompletionItemProvider('mySpecialLanguage', { }, { label: 'testing', kind: monaco.languages.CompletionItemKind.Keyword, - insertText:'testing({{condition}})' + insertText: { + value: 'testing(${1:condition})' + } }, { label: 'ifelse', kind: monaco.languages.CompletionItemKind.Snippet, - insertText: [ - 'if ({{condition}}) {', - '\t{{}}', - '} else {', - '\t', - '}' - ].join('\n'), + insertText: { + value: [ + 'if (${1:condition}) {', + '\t$0', + '} else {', + '\t', + '}' + ].join('\n') + }, documentation: 'If-Else Statement' } ]