This commit is contained in:
Pine Wu
2019-07-29 15:56:53 -07:00
parent 443e808c9d
commit c25e395ace
5 changed files with 87 additions and 32 deletions

View File

@@ -269,7 +269,7 @@ suite('Tests for Expand Abbreviations (HTML)', () => {
editor.selection = new Selection(13, 14, 13, 14);
const cancelSrc = new CancellationTokenSource();
const completionPromise = completionProvider.provideCompletionItems(editor.document, editor.selection.active, cancelSrc.token, { triggerKind: CompletionTriggerKind.Invoke });
assert.equal(!completionPromise, true, `Got unexpected comapletion promise instead of undefined`);
assert.equal(!completionPromise, true, `Got unexpected completion promise instead of undefined`);
return Promise.resolve();
});
});