Skip to content

Commit

Permalink
fix test for #4705
Browse files Browse the repository at this point in the history
  • Loading branch information
RealyUniqueName committed Jun 9, 2019
1 parent 5e1602d commit c218710
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/src/unit/issues/Issue4705.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package unit.issues;
class Issue4705 extends unit.Test {
function test() {
var a:Object = { foo: 12, bar: '13' };
aeq(['foo', 'bar'], [for(f in a) f]);
var actual = [for(f in a) f];
actual.sort(Reflect.compare);
aeq(['bar', 'foo'], actual);
}
}

Expand Down

0 comments on commit c218710

Please sign in to comment.