Update tests

pull/497/head
Sam El-Husseini 2017-07-05 23:49:14 +03:00
parent 8176a1a607
commit c9e4b0bb2d
1 changed files with 12 additions and 8 deletions

View File

@ -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{{}}',
insertText: {
value: [
'if (${1:condition}) {',
'\t$0',
'} else {',
'\t',
'}'
].join('\n'),
].join('\n')
},
documentation: 'If-Else Statement'
}
]