From b7f5218c577bba1c5e8e594e26603fdaf5cb4ebd Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 17 Jul 2023 12:05:32 -0600 Subject: [PATCH] guard test that won't work on js --- src/test/cases/DSLTestCase.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/cases/DSLTestCase.hx b/src/test/cases/DSLTestCase.hx index a9b7784..1085ff3 100644 --- a/src/test/cases/DSLTestCase.hx +++ b/src/test/cases/DSLTestCase.hx @@ -24,6 +24,7 @@ class DSLTestCase extends Test { Assert.isTrue(script.wholeScriptDone); } + #if (sys || hxnodejs) function testAsyncFromCache() { var script = new AsyncDSLScriptThatWillCache(); script.run(); @@ -34,6 +35,7 @@ class DSLTestCase extends Test { Assert.isTrue(script.wholeScriptDone); Assert.isTrue(script2.wholeScriptDone); } + #end } @:build(kiss.EmbeddedScript.build("DSL.kiss", "DSLScript.dsl"))