mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
replace void 0 with undefined
This commit is contained in:
@@ -101,17 +101,17 @@ suite('commands namespace tests', () => {
|
||||
|
||||
|
||||
let a = commands.executeCommand('vscode.diff', Uri.parse('sc:a'), Uri.parse('sc:b'), 'DIFF').then(value => {
|
||||
assert.ok(value === void 0);
|
||||
assert.ok(value === undefined);
|
||||
registration.dispose();
|
||||
});
|
||||
|
||||
let b = commands.executeCommand('vscode.diff', Uri.parse('sc:a'), Uri.parse('sc:b')).then(value => {
|
||||
assert.ok(value === void 0);
|
||||
assert.ok(value === undefined);
|
||||
registration.dispose();
|
||||
});
|
||||
|
||||
let c = commands.executeCommand('vscode.diff', Uri.parse('sc:a'), Uri.parse('sc:b'), 'Title', { selection: new Range(new Position(1, 1), new Position(1, 2)) }).then(value => {
|
||||
assert.ok(value === void 0);
|
||||
assert.ok(value === undefined);
|
||||
registration.dispose();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user