Skip to content

Commit 641945f

Browse files
authored
[housekeeping] Automated PR to fix formatting errors on main (#31993)
Automated PR to fix formatting errors
2 parents 3e8446c + 97ef945 commit 641945f

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/Controls/src/Core/Items/ItemsView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public int RemainingItemsThreshold
113113

114114
internal static readonly BindableProperty InternalItemsLayoutProperty =
115115
BindableProperty.Create(nameof(ItemsLayout), typeof(IItemsLayout), typeof(ItemsView),
116-
null, propertyChanged: OnInternalItemsLayoutPropertyChanged,
116+
null, propertyChanged: OnInternalItemsLayoutPropertyChanged,
117117
defaultValueCreator: (b) => LinearItemsLayout.CreateVerticalDefault());
118118

119119
static void OnInternalItemsLayoutPropertyChanged(BindableObject bindable, object oldValue, object newValue)

src/Controls/tests/Core.UnitTests/ItemsLayoutTypeConverterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public void HorizontalListShouldReturnLinearItemsLayout()
1111
{
1212
var converter = new ItemsLayoutTypeConverter();
1313
var result = converter.ConvertFromInvariantString("HorizontalList");
14-
14+
1515
Assert.IsType<LinearItemsLayout>(result);
1616
var linearLayout = (LinearItemsLayout)result;
1717
Assert.Equal(ItemsLayoutOrientation.Horizontal, linearLayout.Orientation);
@@ -22,7 +22,7 @@ public void VerticalListShouldReturnLinearItemsLayout()
2222
{
2323
var converter = new ItemsLayoutTypeConverter();
2424
var result = converter.ConvertFromInvariantString("VerticalList");
25-
25+
2626
Assert.IsType<LinearItemsLayout>(result);
2727
var linearLayout = (LinearItemsLayout)result;
2828
Assert.Equal(ItemsLayoutOrientation.Vertical, linearLayout.Orientation);

src/Controls/tests/DeviceTests/Elements/CarouselView/CarouselViewTests.iOS.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ await InvokeOnMainThreadAsync(async () =>
3030
weakCarouselView = new WeakReference(carouselView);
3131

3232
var handler = await CreateHandlerAsync<CarouselViewHandler2>(carouselView);
33-
33+
3434
// Verify handler is created
3535
Assert.NotNull(handler);
36-
36+
3737
// Store weak reference to the handler
3838
weakHandler = new WeakReference(handler);
39-
39+
4040
// Disconnect the handler
4141
((IElementHandler)handler).DisconnectHandler();
4242
});
@@ -46,7 +46,7 @@ await InvokeOnMainThreadAsync(async () =>
4646

4747
// Verify the CarouselView was collected
4848
Assert.False(weakCarouselView.IsAlive, "CarouselView should have been garbage collected");
49-
49+
5050
// Verify the handler was collected
5151
Assert.False(weakHandler.IsAlive, "CarouselViewHandler2 should have been garbage collected");
5252
}

src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.iOS.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ await InvokeOnMainThreadAsync(async () =>
271271
weakCollectionView = new WeakReference(collectionView);
272272

273273
var handler = await CreateHandlerAsync<CollectionViewHandler2>(collectionView);
274-
274+
275275
// Verify handler is created
276276
Assert.NotNull(handler);
277-
277+
278278
// Store weak reference to the handler
279279
weakHandler = new WeakReference(handler);
280-
280+
281281
// Disconnect the handler
282282
((IElementHandler)handler).DisconnectHandler();
283283
});
@@ -287,7 +287,7 @@ await InvokeOnMainThreadAsync(async () =>
287287

288288
// Verify the CollectionView was collected
289289
Assert.False(weakCollectionView.IsAlive, "CollectionView should have been garbage collected");
290-
290+
291291
// Verify the handler was collected
292292
Assert.False(weakHandler.IsAlive, "CollectionViewHandler2 should have been garbage collected");
293293
}

0 commit comments

Comments
 (0)