Skip to content

Commit

Permalink
[tests] dodge for green CI
Browse files Browse the repository at this point in the history
see #11425
  • Loading branch information
Simn committed Dec 13, 2023
1 parent 9932f26 commit 989bec7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/src/unit/TestNullCoalescing.hx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class TestNullCoalescing extends Test {
eq(arr[i], v);

final arr = [];
#if !cs
function item(n) {
arr.push(n);
return null;
Expand All @@ -127,6 +128,7 @@ class TestNullCoalescing extends Test {
eq(arr.length, 3);
for (i => v in [1, 2, 3])
eq(arr[i], v);
#end

var b:B = cast null;
var c:C = cast null;
Expand Down

0 comments on commit 989bec7

Please sign in to comment.