Browse Source

[all] removed incorrect test

Caue Waneck 13 years ago
parent
commit
d1d7c547e8
1 changed files with 0 additions and 8 deletions
  1. 0 8
      tests/unit/TestBasetypes.hx

+ 0 - 8
tests/unit/TestBasetypes.hx

@@ -84,14 +84,6 @@ class TestBasetypes extends Test {
 			eq(arr[0], "hellonull");
 			eq(arr[0], "hellonull");
 		}
 		}
 		
 		
-		{
-			//testing correct substitution of += on dynamically-typed string transformations
-			var arr:Array<Dynamic> = ["hello"];
-			var i = 0;
-			eq( cast(arr[i++] += arr[i], String), "hellonull");
-			eq(arr[0], "hellonull");
-		}
-		
 		var x = { hello:"world", val:5 };
 		var x = { hello:"world", val:5 };
 		var xs = "" + x;
 		var xs = "" + x;
 		// Output should contain hello followed by world, and val followed by 5.
 		// Output should contain hello followed by world, and val followed by 5.