Skip to content

Commit

Permalink
[tests] add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Oct 31, 2024
1 parent da8f37f commit 410b66e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/unit/src/unit/issues/Issue11810.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package unit.issues;

class Issue11810 extends Test {
function test() {
var arrObj = [];
eq(null, arrObj[arrObj.length-1]);
var arrBytes : Array<Int> = [];
eq(0, arrBytes[arrBytes.length-1]);
}
}

0 comments on commit 410b66e

Please sign in to comment.