mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
This commit is contained in:
parent
47ea339db5
commit
47e4d24fa1
|
@ -24,7 +24,7 @@ suite('vscode API - globalState / workspaceState', () => {
|
|||
let res = state.get('state.test.get', 'default');
|
||||
assert.strictEqual(res, 'default');
|
||||
|
||||
await state.update('state.test.get', 'testvalue');
|
||||
state.update('state.test.get', 'testvalue');
|
||||
|
||||
keys = state.keys();
|
||||
assert.strictEqual(keys.length, 1);
|
||||
|
@ -33,7 +33,7 @@ suite('vscode API - globalState / workspaceState', () => {
|
|||
res = state.get('state.test.get', 'default');
|
||||
assert.strictEqual(res, 'testvalue');
|
||||
|
||||
await state.update('state.test.get', undefined);
|
||||
state.update('state.test.get', undefined);
|
||||
|
||||
keys = state.keys();
|
||||
assert.strictEqual(keys.length, 0, `Unexpected keys: ${JSON.stringify(keys)}`);
|
||||
|
|
Loading…
Reference in a new issue