From c8068e8da96b73ba72c3dda4e43a780d5f24188e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Wed, 25 Sep 2024 10:13:38 +0200 Subject: [PATCH] Tests fix --- .../as3decompile/ActionScript3ClassicAirDecompileTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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",