mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
commit
b678edbd64
|
@ -130,7 +130,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
|||
// #endregion
|
||||
|
||||
// #region remove tag
|
||||
test('remove tag with mutliple cursors', () => {
|
||||
test('remove tag with multiple cursors', () => {
|
||||
const expectedContents = `
|
||||
<div class="hello">
|
||||
<ul>
|
||||
|
@ -227,7 +227,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
|||
// #endregion
|
||||
|
||||
// #region split/join tag
|
||||
test('split/join tag with mutliple cursors', () => {
|
||||
test('split/join tag with multiple cursors', () => {
|
||||
const expectedContents = `
|
||||
<div class="hello">
|
||||
<ul>
|
||||
|
@ -328,7 +328,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
|||
// #endregion
|
||||
|
||||
// #region match tag
|
||||
test('match tag with mutliple cursors', () => {
|
||||
test('match tag with multiple cursors', () => {
|
||||
return withRandomFileEditor(contents, 'html', (editor, _) => {
|
||||
editor.selections = [
|
||||
new Selection(1, 0, 1, 0), // just before tag starts, i.e before <
|
||||
|
|
|
@ -605,7 +605,7 @@ suite('ViewContainerModel', () => {
|
|||
assert.strictEqual(testObject.visibleViewDescriptors.length, 0);
|
||||
}));
|
||||
|
||||
test('remove event is triggered properly if mutliple views are hidden at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
test('remove event is triggered properly if multiple views are hidden at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
container = ViewContainerRegistry.registerViewContainer({ id: 'test', title: nls.localize2('test', 'test'), ctorDescriptor: new SyncDescriptor(<any>{}) }, ViewContainerLocation.Sidebar);
|
||||
const testObject = viewDescriptorService.getViewContainerModel(container);
|
||||
const target = disposableStore.add(new ViewDescriptorSequence(testObject));
|
||||
|
@ -663,7 +663,7 @@ suite('ViewContainerModel', () => {
|
|||
assert.strictEqual(target.elements[0].id, viewDescriptor1.id);
|
||||
}));
|
||||
|
||||
test('add event is triggered properly if mutliple views are hidden at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
test('add event is triggered properly if multiple views are hidden at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
container = ViewContainerRegistry.registerViewContainer({ id: 'test', title: nls.localize2('test', 'test'), ctorDescriptor: new SyncDescriptor(<any>{}) }, ViewContainerLocation.Sidebar);
|
||||
const testObject = viewDescriptorService.getViewContainerModel(container);
|
||||
const target = disposableStore.add(new ViewDescriptorSequence(testObject));
|
||||
|
@ -731,7 +731,7 @@ suite('ViewContainerModel', () => {
|
|||
assert.strictEqual(target.elements[2].id, viewDescriptor3.id);
|
||||
}));
|
||||
|
||||
test('add and remove events are triggered properly if mutliple views are hidden and added at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
test('add and remove events are triggered properly if multiple views are hidden and added at the same time', () => runWithFakedTimers<void>({ useFakeTimers: true }, async () => {
|
||||
container = ViewContainerRegistry.registerViewContainer({ id: 'test', title: nls.localize2('test', 'test'), ctorDescriptor: new SyncDescriptor(<any>{}) }, ViewContainerLocation.Sidebar);
|
||||
const testObject = viewDescriptorService.getViewContainerModel(container);
|
||||
const target = disposableStore.add(new ViewDescriptorSequence(testObject));
|
||||
|
|
2
src/vscode-dts/vscode.d.ts
vendored
2
src/vscode-dts/vscode.d.ts
vendored
|
@ -1552,7 +1552,7 @@ declare module 'vscode' {
|
|||
*/
|
||||
with(change: {
|
||||
/**
|
||||
* The new scheme, defauls to this Uri's scheme.
|
||||
* The new scheme, defaults to this Uri's scheme.
|
||||
*/
|
||||
scheme?: string;
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue