Skip to content

Commit

Permalink
Tests: Haxe 3.4.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed May 9, 2023
1 parent 1a7ba13 commit 609ea90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/application/src/ClipboardRTFTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class ClipboardRTFTest extends Test
#if (flash && !air)
@Ignored
#end
#if (flash && !haxe4)
// ByteArray type coercion fails with Haxe 3.4.7
@Ignored
#end
public function test_getData(async:Async)
{
#if air
Expand Down
5 changes: 5 additions & 0 deletions tests/stage/src/StageTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ class StageTest extends Test
#end
}

#if (flash && !haxe4)
@Ignored
#end
#if !integration
@Ignored
#end
Expand All @@ -241,9 +244,11 @@ class StageTest extends Test
// TODO: Isolate so integration is not needed

#if integration
#if (!flash || haxe4)
var exists = Lib.current.stage.invalidate;

Assert.notNull(exists);
#end
#end
}
}

0 comments on commit 609ea90

Please sign in to comment.