Skip to content

Commit

Permalink
dodge lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Feb 8, 2024
1 parent 53ad883 commit d7ae301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/src/unit/issues/Issue5271.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class Issue5271 extends unit.Test {
eq(3, "dog".indexOf("", 3));
eq(3, "dog".indexOf("", 4));
eq(3, "dog".indexOf("", 10));
#if !lua
eq(0, "dog".indexOf("", -1));
#end

eq(-1, "dogdog".indexOf("cat"));
eq(3, "dogcat".indexOf("cat"));
Expand Down

0 comments on commit d7ae301

Please sign in to comment.