mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 08:28:08 +00:00
Fixed tests.
This commit is contained in:
23
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestIfInsteadSwitch.as
vendored
Normal file
23
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestIfInsteadSwitch.as
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestIfInsteadSwitch
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:int = 5;
|
||||
if(a > 5)
|
||||
{
|
||||
if(a === 0)
|
||||
{
|
||||
trace("X");
|
||||
}
|
||||
}
|
||||
if(a === 1)
|
||||
{
|
||||
return "A";
|
||||
}
|
||||
return "B";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user