From 9f39e330b582b013394e6aac4f531ead3014b974 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 00:23:42 +0000 Subject: [PATCH] [housekeeping] Automated PR to fix formatting errors (#2060) Automated dotnet-format update Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../Converters/VariableMultiValueConverterTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CommunityToolkit.Maui.UnitTests/Converters/VariableMultiValueConverterTests.cs b/src/CommunityToolkit.Maui.UnitTests/Converters/VariableMultiValueConverterTests.cs index 2a2dee6c7..74a7b23dd 100644 --- a/src/CommunityToolkit.Maui.UnitTests/Converters/VariableMultiValueConverterTests.cs +++ b/src/CommunityToolkit.Maui.UnitTests/Converters/VariableMultiValueConverterTests.cs @@ -37,7 +37,7 @@ public void VariableMultiConverter(object[]? value, MultiBindingCondition type, var result = variableMultiConverter.Convert(value, typeof(bool), null, CultureInfo.CurrentCulture); Assert.Equal(result, expectedResult); } - + [Fact] public void NonNullableNotValid() { @@ -45,7 +45,7 @@ public void NonNullableNotValid() var multiBinding = new MultiBinding { - Bindings = + Bindings = [ new Binding(nameof(ContentPage.IsEnabled), source: contentPage, converter: new InvertedBoolConverter()), new Binding(nameof(ContentPage.IsVisible), source: contentPage, converter: new InvertedBoolConverter()) @@ -58,14 +58,14 @@ public void NonNullableNotValid() var stackLayout = new VerticalStackLayout(); stackLayout.SetBinding(VerticalStackLayout.IsClippedToBoundsProperty, multiBinding); - + contentPage.Content = stackLayout; - + Assert.False(stackLayout.IsClippedToBounds); contentPage.IsEnabled = false; contentPage.IsVisible = false; - + Assert.True(stackLayout.IsClippedToBounds); } } \ No newline at end of file