From: Matthias Kramm Date: Fri, 30 Jan 2009 18:54:20 +0000 (+0100) Subject: added test case for the 'filename' package X-Git-Tag: release-0-9-0~197 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=1242486004fcdca459aeda4029dc7ec2f3d55c68;p=swftools.git added test case for the 'filename' package --- diff --git a/lib/as3/ok/packageinit.as b/lib/as3/ok/packageinit.as index ce42759..2b354c1 100644 --- a/lib/as3/ok/packageinit.as +++ b/lib/as3/ok/packageinit.as @@ -1,8 +1,10 @@ +var np_x = "ok 4/4"; + package some.other.module { - public var msg = "ok 2/3"; + public var msg = "ok 2/4"; public function getmsg() { - return "ok 3/3"; + return "ok 3/4"; } } @@ -15,7 +17,7 @@ package { var message="error"; /* test code which executes directly in a package */ if(mode == 3) - message = "ok 1/1"; + message = "ok 1/4"; else message = "error"; @@ -28,3 +30,5 @@ package { trace(msg); trace(getmsg()); } + +trace(np_x);