提交 21c8bb66 编写于 作者: B Benjamin Pasero

💄

上级 8c71cf6a
......@@ -8,7 +8,6 @@
import * as assert from 'assert';
import Cache from 'vs/base/common/cache';
import { TPromise } from 'vs/base/common/winjs.base';
import { timeout } from 'vs/base/common/async';
suite('Cache', () => {
......@@ -37,7 +36,7 @@ suite('Cache', () => {
const cache = new Cache(() => {
counter1++;
return timeout(1).then(() => counter2++);
return TPromise.timeout(1).then(() => counter2++);
});
assert.equal(counter1, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册