浏览代码

[all] taken off incorrect tests

Caue Waneck 13 年之前
父节点
当前提交
69c410d6d2
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      tests/unit/TestBasetypes.hx

+ 0 - 8
tests/unit/TestBasetypes.hx

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