mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
fix compile errors
This commit is contained in:
@@ -315,7 +315,7 @@ suite('window namespace tests', () => {
|
||||
assert.equal(terminal.name, 'foo');
|
||||
|
||||
assert.throws(() => {
|
||||
terminal.name = 'bar';
|
||||
(<any>terminal).name = 'bar';
|
||||
}, 'Terminal.name should be readonly');
|
||||
});
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ suite('workspace-namespace', () => {
|
||||
assert.equal(config['config0'], true);
|
||||
assert.equal(config['config4'], '');
|
||||
|
||||
assert.throws(() => config['config4'] = 'valuevalue');
|
||||
assert.throws(() => (<any>config)['config4'] = 'valuevalue');
|
||||
|
||||
assert.ok(config.has('nested.config1'));
|
||||
assert.equal(config.get('nested.config1'), 42);
|
||||
|
||||
Reference in New Issue
Block a user