Improve compatibility with lua 5.2.
This commit is contained in:
@@ -555,5 +555,10 @@ public class FragmentsTest extends TestSuite {
|
||||
"end\n"+
|
||||
"g()\n");
|
||||
}
|
||||
|
||||
public void testNullError() {
|
||||
runFragment( LuaValue.varargsOf(LuaValue.FALSE, LuaValue.NIL),
|
||||
"return pcall(error)\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user