mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973 (#6381)
* Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973 * disable strict null check
This commit is contained in:
@@ -127,7 +127,7 @@ suite('Workbench base editor', () => {
|
||||
let oldEditorsCnt = EditorRegistry.getEditors().length;
|
||||
let oldInputCnt = (<any>EditorRegistry).getEditorInputs().length;
|
||||
|
||||
EditorRegistry.registerEditor(d1, new SyncDescriptor(MyInput));
|
||||
EditorRegistry.registerEditor(d1, [new SyncDescriptor(MyInput)]);
|
||||
EditorRegistry.registerEditor(d2, [new SyncDescriptor(MyInput), new SyncDescriptor(MyOtherInput)]);
|
||||
|
||||
assert.equal(EditorRegistry.getEditors().length, oldEditorsCnt + 2);
|
||||
@@ -148,8 +148,8 @@ suite('Workbench base editor', () => {
|
||||
let oldEditors = EditorRegistry.getEditors();
|
||||
(<any>EditorRegistry).setEditors([]);
|
||||
|
||||
EditorRegistry.registerEditor(d2, new SyncDescriptor(ResourceEditorInput));
|
||||
EditorRegistry.registerEditor(d1, new SyncDescriptor(MyResourceInput));
|
||||
EditorRegistry.registerEditor(d2, [new SyncDescriptor(ResourceEditorInput)]);
|
||||
EditorRegistry.registerEditor(d1, [new SyncDescriptor(MyResourceInput)]);
|
||||
|
||||
let inst = new TestInstantiationService();
|
||||
|
||||
@@ -168,7 +168,7 @@ suite('Workbench base editor', () => {
|
||||
let oldEditors = EditorRegistry.getEditors();
|
||||
(<any>EditorRegistry).setEditors([]);
|
||||
|
||||
EditorRegistry.registerEditor(d1, new SyncDescriptor(ResourceEditorInput));
|
||||
EditorRegistry.registerEditor(d1, [new SyncDescriptor(ResourceEditorInput)]);
|
||||
|
||||
let inst = new TestInstantiationService();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user