Explorar o código

[java/cs] Fixed issue #1275

Caue Waneck %!s(int64=12) %!d(string=hai) anos
pai
achega
74269445e6
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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 {
 
+	static var unit = "testing package conflict";
+
+	function testPackageConflict()
+	{
+		eq( unit, "testing package conflict" );
+		var unit = unit;
+		eq( unit, TestMisc.unit );
+	}
+
 	function testDate() {
 		var d = new Date(2012, 07, 17, 01, 02, 03);
 		eq( d.getDay(), 5 );