fix some tests for lua

This commit is contained in:
2024-04-21 19:42:19 -06:00
parent ded96748fe
commit bdd9bedba2
2 changed files with 3 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ enum KissTarget {
NodeJS;
Python;
Macro;
Lua;
}
class Prelude {

View File

@@ -335,7 +335,7 @@ class BasicTestCase extends Test {
}
function testEval() {
#if (sys || hxnodejs)
#if ((sys || hxnodejs) && !lua)
_testEvalStatic();
_testEval();
#else
@@ -424,7 +424,7 @@ class BasicTestCase extends Test {
_testTypeCase();
}
#if (sys || hxnodejs)
#if ((sys || hxnodejs) && !lua)
function testTryProcess() {
// tryProcess returns null on failure:
Assert.equals(null, Prelude.tryProcess("_ThisCoMMaNDWillSURElYFaiLLLLLL", [], error->{return;}));