فهرست منبع

add pseudo test (closes #2343)

Simon Krajewski 11 سال پیش
والد
کامیت
119a8de70a
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      tests/unit/issues/Issue2343.hx

+ 3 - 0
tests/unit/issues/Issue2343.hx

@@ -15,5 +15,8 @@ class Issue2343 extends unit.Test {
 	function test() {
 		var foo = new Foo<MyInt>(1);
 		eq(1, foo.result);
+
+		// we cannot actually test this because it is delayed
+		//t(unit.TestType.typeError(var foo2 = new Foo<String>("1")));
 	}
 }