mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 22:45:49 +00:00
tests fix 2
This commit is contained in:
@@ -518,7 +518,7 @@ public class ActionScript2Test extends ActionScript2TestBase {
|
||||
public void frame47_ternarTest() {
|
||||
compareSrc(47, "trace(\"ternarTest\");\r\n"
|
||||
+ "var a = 5;\r\n"
|
||||
+ "var b = a != 4?3:2;\r\n"
|
||||
+ "var b = a != 4 ? 3 : 2;\r\n"
|
||||
+ "trace(b);\r\n"
|
||||
);
|
||||
}
|
||||
@@ -1980,7 +1980,7 @@ public class ActionScript2Test extends ActionScript2TestBase {
|
||||
+ "{\r\n"
|
||||
+ "trace(_loc1_);\r\n"
|
||||
+ "}\r\n"
|
||||
+ "_loc3_.r1 = _loc2_ + 1 + \". \" + (!_loc4_?_loc3_.r2 = v1[_loc2_][0]:\"unk\");\r\n"
|
||||
+ "_loc3_.r1 = _loc2_ + 1 + \". \" + (!_loc4_ ? _loc3_.r2 = v1[_loc2_][0] : \"unk\");\r\n"
|
||||
+ "}\r\n"
|
||||
+ "trace(\"chainedAfterForInTest\");\r\n"
|
||||
+ "var v1 = {};\r\n"
|
||||
|
||||
Reference in New Issue
Block a user