diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java index f1fbe9090..578ad4e4b 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java @@ -430,11 +430,12 @@ public class ActionScript2Test { + "}\r\n" + "trace(d+1);\r\n" + "var i=0;\r\n" - + "for(;i<5;i++)\r\n" + + "while(i<5)\r\n" + "{\r\n" + "if(i==7)\r\n" + "{\r\n" + "}\r\n" + + "i++;\r\n" + "}\r\n"); } diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java index 087f120f8..ba021b1d7 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java @@ -215,13 +215,11 @@ public class ActionScript3Test { + "for(;c<8;c=c+1)\r\n" + "{\r\n" + "d=0;\r\n" - + "for(;d<25;d++)\r\n" + + "while(d<25)\r\n" + "{\r\n" + "e=0;\r\n" - + "if(e>=50)\r\n" + + "if(e<50)\r\n" + "{\r\n" - + "continue;\r\n" - + "}\r\n" + "if(e==9)\r\n" + "{\r\n" + "break;\r\n" @@ -230,12 +228,13 @@ public class ActionScript3Test { + "{\r\n" + "continue loop1;\r\n" + "}\r\n" - + "if(e==8)\r\n" + + "if(e!=8)\r\n" + "{\r\n" - + "continue;\r\n" - + "}\r\n" + "break loop1;\r\n" + "}\r\n" + + "}\r\n" + + "d++;\r\n" + + "}\r\n" + "trace(\"hello\");\r\n" + "}\r\n" + "return;\r\n", false);