Browse Source

[java/cs] Fixed issue #1275

Caue Waneck 12 years ago
parent
commit
74269445e6
1 changed files with 9 additions and 0 deletions
  1. 9 0
      tests/unit/TestMisc.hx

+ 9 - 0
tests/unit/TestMisc.hx

@@ -104,6 +104,15 @@ class SubConstrOpt3 extends BaseConstrOpt {
 
 
 class TestMisc extends Test {
 class TestMisc extends Test {
 
 
+	static var unit = "testing package conflict";
+
+	function testPackageConflict()
+	{
+		eq( unit, "testing package conflict" );
+		var unit = unit;
+		eq( unit, TestMisc.unit );
+	}
+
 	function testDate() {
 	function testDate() {
 		var d = new Date(2012, 07, 17, 01, 02, 03);
 		var d = new Date(2012, 07, 17, 01, 02, 03);
 		eq( d.getDay(), 5 );
 		eq( d.getDay(), 5 );