Skip to content

Commit

Permalink
Update ListViewTests.Windows.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Foda authored Jun 14, 2024
1 parent 824fa6e commit bb7114b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ await CreateHandlerAndAddToWindow<LayoutHandler>(layout, async (handler) =>
var actualListView = listView.ToPlatform() as ListViewRenderer;
var textChildren = actualListView.GetChildren<UI.Xaml.Controls.TextBlock>();

Assert.True(textChildren.Any(x => x.Text == "Item 3"));
Assert.Contains(textChildren, (x) => x.Text == "Item 3");
});
}
}
}
}

0 comments on commit bb7114b

Please sign in to comment.