Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Nov 4, 2024
1 parent d79ace2 commit 6fc5287
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/Fabulous.Avalonia.Tests/ViewHelperTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ type ViewHelpers() =
{ Key = TextBlock.WidgetKey
ScalarAttributes = ValueNone
WidgetAttributes = ValueNone
WidgetCollectionAttributes = ValueNone }
// [| { Key = TextBlock.Inlines.Key
// Value = ArraySlice.emptyWithNull() } |] }
WidgetCollectionAttributes =
ValueSome
[| { Key = MvuTextBlock.Inlines.Key
Value = ArraySlice.emptyWithNull() } |] }

let actual = ViewHelpers.canReuseView prev curr

Expand All @@ -65,10 +66,10 @@ type ViewHelpers() =
{ Key = TextBlock.WidgetKey
ScalarAttributes = ValueNone
WidgetAttributes = ValueNone
WidgetCollectionAttributes = ValueNone }
// ValueSome
// [| { Key = TextBlock.Inlines.Key
// Value = ArraySlice.emptyWithNull() } |] }
WidgetCollectionAttributes =
ValueSome
[| { Key = MvuTextBlock.Inlines.Key
Value = ArraySlice.emptyWithNull() } |] }

let curr =
{ Key = TextBlock.WidgetKey
Expand Down

0 comments on commit 6fc5287

Please sign in to comment.