mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 20:04:37 +00:00
AS2 parsing tests fix, +new test
This commit is contained in:
@@ -81,4 +81,19 @@ public class ActionScript2ParserTest extends ActionStript2TestBase {
|
||||
" }\n" +
|
||||
"}");
|
||||
}
|
||||
|
||||
@Test
|
||||
private void testAS2Parse5() {
|
||||
parseAS2(
|
||||
"if(!test.T1)\n" +
|
||||
"{\n" +
|
||||
" test.T1 = function()\n" +
|
||||
" {\n" +
|
||||
" super();\n" +
|
||||
" }.Initialize = function(obj)\n" +
|
||||
" {\n" +
|
||||
" var x = 1;\n" +
|
||||
" };\n" +
|
||||
"}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user