Merge pull request #195562 from vuittont60/main

fix typos
This commit is contained in:
Rob Lourens 2023-10-16 15:37:20 -07:00 committed by GitHub
commit b678edbd64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -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 <

View file

@ -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));

View file

@ -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;
/**