Browse Source

fix: fix a code typo in XSharedDirectiveTests (#16765)

The typo causes the resources `implicitSharedInstance1` and `implicitSharedInstance2` are both always `AvaloniaProperty.UnsetValue`, where `Assert.Same` passes.
pull/16835/head
Ge 2 years ago
committed by GitHub
parent
commit
de86c5a058
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      tests/Avalonia.Markup.Xaml.UnitTests/Xaml/XSharedDirectiveTests.cs

2
tests/Avalonia.Markup.Xaml.UnitTests/Xaml/XSharedDirectiveTests.cs

@ -16,7 +16,7 @@ public class XSharedDirectiveTests : XamlTestBase
xmlns:sys="clr-namespace:System;assembly=netstandard"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Window.Resources>
<ColumnDefinitions x:Key="InplicitSharedResource">
<ColumnDefinitions x:Key="ImplicitSharedResource">
<ColumnDefinition Width="150" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="Auto" />

Loading…
Cancel
Save