Skip to content

Commit

Permalink
Fix error in tests when echoes_stable_order defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
player-03 committed Jan 9, 2025
1 parent 92397d6 commit 94d431f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/AdvancedFunctionalityTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ class AdvancedFunctionalityTest extends Test {
Assert.same([0, 1, 2], @:privateAccess Echoes.activeEntities);

entity0.deactivate();
#if echoes_stable_order
entity1.deactivate();
entity1.activate();
#end
Assert.same([2, 1], @:privateAccess Echoes.activeEntities);
Assert.same([null, 1, 0], @:privateAccess Echoes.activeEntityIndices);

Expand Down

0 comments on commit 94d431f

Please sign in to comment.