Skip to content

Commit 6b4f3b4

Browse files
committed
fix again
1 parent c862d62 commit 6b4f3b4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/test/extension.autocomplete.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ suite('Autocomplete', () => {
5151
assert.notEqual(list.items.filter(item => item.label === 'api_version').length, 0, 'api_version not found');
5252
assert.notEqual(list.items.filter(item => item.label === 'argv').length, 0, 'argv not found');
5353
assert.notEqual(list.items.filter(item => item.label === 'prefix').length, 0, 'prefix not found');
54-
done();
55-
}, done);
54+
}).then(done, done);
5655
});
5756

5857
test('For custom class', done => {
@@ -69,8 +68,7 @@ suite('Autocomplete', () => {
6968
assert.notEqual(list.items.filter(item => item.label === 'description').length, 0, 'description not found');
7069
assert.notEqual(list.items.filter(item => item.label === 'method1').length, 0, 'method1 not found');
7170
assert.notEqual(list.items.filter(item => item.label === 'method2').length, 0, 'method2 not found');
72-
done();
73-
}, done);
71+
}).then(done, done);
7472
});
7573

7674
test('With Unicode Characters', done => {

0 commit comments

Comments
 (0)