mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 05:35:05 +00:00
tests fixed
This commit is contained in:
@@ -45,7 +45,7 @@ public class ActionScript2ParserTest extends ActionStript2TestBase {
|
||||
private void parseAS2(String script) {
|
||||
DoActionTag asm = getFirstActionTag();
|
||||
try {
|
||||
ActionScriptParser par = new ActionScriptParser();
|
||||
ActionScriptParser par = new ActionScriptParser(SWF.DEFAULT_VERSION);
|
||||
asm.setActions(par.actionsFromString(script));
|
||||
} catch (IOException | CompilationException | ParseException ex) {
|
||||
fail("Unable to parse: " + script);
|
||||
|
||||
Reference in New Issue
Block a user