mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Revert "Update to Electron v2.0.0-beta.6 (#46552)"
This reverts commit 88603b377d.
This commit is contained in:
@@ -16,9 +16,9 @@ suite('Cache', () => {
|
||||
const cache = new Cache(() => TPromise.as(counter++));
|
||||
|
||||
return cache.get()
|
||||
.then(c => assert.equal(c, 0), () => assert.fail('Unexpected assertion error'))
|
||||
.then(c => assert.equal(c, 0), () => assert.fail())
|
||||
.then(() => cache.get())
|
||||
.then(c => assert.equal(c, 0), () => assert.fail('Unexpected assertion error'));
|
||||
.then(c => assert.equal(c, 0), () => assert.fail());
|
||||
});
|
||||
|
||||
test('simple error', () => {
|
||||
@@ -26,9 +26,9 @@ suite('Cache', () => {
|
||||
const cache = new Cache(() => TPromise.wrapError(new Error(String(counter++))));
|
||||
|
||||
return cache.get()
|
||||
.then(() => assert.fail('Unexpected assertion error'), err => assert.equal(err.message, 0))
|
||||
.then(() => assert.fail(), err => assert.equal(err.message, 0))
|
||||
.then(() => cache.get())
|
||||
.then(() => assert.fail('Unexpected assertion error'), err => assert.equal(err.message, 0));
|
||||
.then(() => assert.fail(), err => assert.equal(err.message, 0));
|
||||
});
|
||||
|
||||
test('should retry cancellations', () => {
|
||||
|
||||
Reference in New Issue
Block a user