diff options
Diffstat (limited to 'src/vs/workbench/test/browser/parts/editor/editorPane.test.ts')
-rw-r--r-- | src/vs/workbench/test/browser/parts/editor/editorPane.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vs/workbench/test/browser/parts/editor/editorPane.test.ts b/src/vs/workbench/test/browser/parts/editor/editorPane.test.ts index dbb629c311f..7d19418acc5 100644 --- a/src/vs/workbench/test/browser/parts/editor/editorPane.test.ts +++ b/src/vs/workbench/test/browser/parts/editor/editorPane.test.ts @@ -5,7 +5,7 @@ import * as assert from 'assert'; import { EditorPane, EditorMemento } from 'vs/workbench/browser/parts/editor/editorPane'; -import { WorkspaceTrustRequiredEditor } from 'vs/workbench/browser/parts/editor/editorPlaceholder'; +import { WorkspaceTrustRequiredPlaceholderEditor } from 'vs/workbench/browser/parts/editor/editorPlaceholder'; import { IEditorSerializer, IEditorFactoryRegistry, EditorExtensions, EditorInputCapabilities, IEditorDescriptor, IEditorPane } from 'vs/workbench/common/editor'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { Registry } from 'vs/platform/registry/common/platform'; @@ -505,7 +505,7 @@ suite('EditorPane', () => { const testInput = new TrustRequiredTestInput(); await group.openEditor(testInput); - assert.strictEqual(group.activeEditorPane?.getId(), WorkspaceTrustRequiredEditor.ID); + assert.strictEqual(group.activeEditorPane?.getId(), WorkspaceTrustRequiredPlaceholderEditor.ID); const getEditorPaneIdAsync = () => new Promise(resolve => { disposables.add(editorService.onDidActiveEditorChange(() => { @@ -518,7 +518,7 @@ suite('EditorPane', () => { assert.strictEqual(await getEditorPaneIdAsync(), 'trustRequiredTestEditor'); workspaceTrustService.setWorkspaceTrust(false); - assert.strictEqual(await getEditorPaneIdAsync(), WorkspaceTrustRequiredEditor.ID); + assert.strictEqual(await getEditorPaneIdAsync(), WorkspaceTrustRequiredPlaceholderEditor.ID); dispose(disposables); }); |