Skip to content

Commit

Permalink
fix: fix a code typo in XSharedDirectiveTests (#16765)
Browse files Browse the repository at this point in the history
The typo causes the resources `implicitSharedInstance1` and `implicitSharedInstance2` are both always `AvaloniaProperty.UnsetValue`, where `Assert.Same` passes.
  • Loading branch information
gehongyan authored Aug 27, 2024
1 parent 06ece8d commit de86c5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void Should_Create_New_Instance_Where_x_Share_Is_False()
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" />
Expand Down

0 comments on commit de86c5a

Please sign in to comment.