提交 bacc894e 编写于 作者: B Benjamin Pasero

fix compile errors

上级 4a411dc6
...@@ -109,7 +109,7 @@ suite('ExtHostWorkspace', function () { ...@@ -109,7 +109,7 @@ suite('ExtHostWorkspace', function () {
let ws = new ExtHostWorkspace(new TestThreadService(), { id: 'foo', name: 'Test', roots: [] }); let ws = new ExtHostWorkspace(new TestThreadService(), { id: 'foo', name: 'Test', roots: [] });
let sub = ws.onDidChangeWorkspace(e => { let sub = ws.onDidChangeWorkspace(e => {
assert.throws(() => { assert.throws(() => {
e.addedFolders = []; (<any>e).addedFolders = [];
}); });
assert.throws(() => { assert.throws(() => {
(<any>e.addedFolders)[0] = null; (<any>e.addedFolders)[0] = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册