From eddcf8e8a183d9f5912006aff4859525dbed8759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Thu, 20 Jun 2013 20:45:50 +0200 Subject: [PATCH] tests fix --- .../com/jpexs/decompiler/flash/ActionScript3Test.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java index 33013d822..a14c73e26 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java @@ -24,7 +24,7 @@ public class ActionScript3Test { @BeforeClass public void init() throws IOException { - swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf"),false); + swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf"), false); DoABCDefineTag tag = null; for (Tag t : swf.tags) { if (t instanceof DoABCDefineTag) { @@ -211,7 +211,7 @@ public class ActionScript3Test { + "trace(\"default clause\");\r\n" + "}\r\n" + "c=0;\r\n" - + "loop0:\r\n" + + "loop1:\r\n" + "for(;c<8;c=c+1)\r\n" + "{\r\n" + "d=0;\r\n" @@ -229,14 +229,14 @@ public class ActionScript3Test { + "}\r\n" + "if(e==20)\r\n" + "{\r\n" - + "continue loop0;\r\n" + + "continue loop1;\r\n" + "}\r\n" + "if(e==8)\r\n" + "{\r\n" + "}\r\n" + "else\r\n" + "{\r\n" - + "break loop0;\r\n" + + "break loop1;\r\n" + "}\r\n" + "}\r\n" + "d++;\r\n"