Polish, also fix #113930

This commit is contained in:
Raymond Zhao
2021-01-13 16:03:00 -08:00
parent 2b5ae783bf
commit a1d5ea876c
2 changed files with 38 additions and 24 deletions

View File

@@ -372,7 +372,7 @@ function testWrapWithAbbreviation(selections: Selection[], abbreviation: string,
editor.selections = selections;
const promise = wrapWithAbbreviation({ abbreviation });
if (!promise) {
assert.equal(1, 2, 'Wrap with Abbreviation returned undefined.');
assert.equal(1, 2, 'Wrap with Abbreviation returned undefined.');
return Promise.resolve();
}