mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Merge branch 'main' into joh/webpack5
This commit is contained in:
commit
357f0292ce
|
@ -69,7 +69,7 @@ suite('Workbench editor utils', () => {
|
|||
test('untyped check functions', () => {
|
||||
assert.ok(!isResourceEditorInput(undefined));
|
||||
assert.ok(!isResourceEditorInput({}));
|
||||
assert.ok(!isResourceEditorInput({ originalInput: { resource: URI.file('/') }, modifiedInput: { resource: URI.file('/') } }));
|
||||
assert.ok(!isResourceEditorInput({ original: { resource: URI.file('/') }, modified: { resource: URI.file('/') } }));
|
||||
assert.ok(isResourceEditorInput({ resource: URI.file('/') }));
|
||||
|
||||
assert.ok(!isUntitledResourceEditorInput(undefined));
|
||||
|
@ -80,7 +80,7 @@ suite('Workbench editor utils', () => {
|
|||
assert.ok(!isResourceDiffEditorInput(undefined));
|
||||
assert.ok(!isResourceDiffEditorInput({}));
|
||||
assert.ok(!isResourceDiffEditorInput({ resource: URI.file('/') }));
|
||||
assert.ok(isResourceDiffEditorInput({ originalInput: { resource: URI.file('/') }, modifiedInput: { resource: URI.file('/') } }));
|
||||
assert.ok(isResourceDiffEditorInput({ original: { resource: URI.file('/') }, modified: { resource: URI.file('/') } }));
|
||||
});
|
||||
|
||||
test('EditorInputCapabilities', () => {
|
||||
|
|
Loading…
Reference in a new issue