add guards for javascript on compiler test

This commit is contained in:
2021-07-25 23:57:54 -06:00
parent baf0c38135
commit 5a6315bff7

View File

@@ -8,6 +8,7 @@ import haxe.macro.Expr;
import haxe.macro.Context;
#end
#if (sys || hxnodejs)
class CompilerToolsTestCase extends Test {
function testCompileHelloWorldJs() {
Assert.equals("Hello world!", _testCompileHelloWorldJs());
@@ -47,3 +48,4 @@ class CompilerToolsTestCase extends Test {
// TODO test what happens when passing more arguments/files
}
#end