Skip to content

Commit

Permalink
tests: back compat
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Mar 10, 2025
1 parent 013015c commit 48e2758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/feathers/controls/GroupListViewTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -812,11 +812,11 @@ class GroupListViewTest extends Test {
}

private function testHeaderRecyclerIDFunction():Void {
var collection = new ArrayHierarchicalCollection([
var collection = new ArrayHierarchicalCollection(([
{text: "A", children: [{text: "One"}, {text: "Two"}, {text: "Three"}]},
{text: "B"},
{text: "C"}
], (item:Dynamic) -> item.children);
] : Array<Dynamic>), (item:Dynamic) -> item.children);
this._listView.dataProvider = collection;
this._listView.setHeaderRendererRecycler("alternate", DisplayObjectRecycler.withClass(ItemRenderer));
this._listView.setHeaderRendererRecycler("alternate2", DisplayObjectRecycler.withClass(ItemRenderer));
Expand Down

0 comments on commit 48e2758

Please sign in to comment.