diff --git a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/as3decompile/ActionScript3ClassicAirDecompileTest.java b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/as3decompile/ActionScript3ClassicAirDecompileTest.java index 51c0985d7..6864b3faf 100644 --- a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/as3decompile/ActionScript3ClassicAirDecompileTest.java +++ b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/as3decompile/ActionScript3ClassicAirDecompileTest.java @@ -1714,8 +1714,13 @@ public class ActionScript3ClassicAirDecompileTest extends ActionScript3Decompile + "var b:int = 2;\r\n" + "var c:int = 3;\r\n" + "var d:int = 4;\r\n" - + "while(d = Math.round(Math.random() * 10), d < 10)\r\n" + + "while(true)\r\n" + "{\r\n" + + "d = Math.round(Math.random() * 10);\r\n" + + "if(d >= 10)\r\n" + + "{\r\n" + + "break;\r\n" + + "}\r\n" + "trace(\"xxx\");\r\n" + "d++;\r\n" + "}\r\n",