Fix for loop (jit), make jist test use jit closures.

This commit is contained in:
James Roseborough
2008-05-18 19:24:09 +00:00
parent 039d79fe5f
commit d9c3f0ae15
2 changed files with 4 additions and 5 deletions

View File

@@ -195,7 +195,8 @@ public class LuaJTest extends TestCase {
try {
// create closure and execute
LClosure c = p.newClosure( state._G );
state.doCall(c, new LValue[0]);
state.pushlvalue(c);
state.call(0,0);
final String actualOutput = new String( outputStream.toByteArray() );
final String expectedOutput = getExpectedOutput( testName );