Browse Source

add pseudo test (closes #2343)

Simon Krajewski 11 years ago
parent
commit
119a8de70a
1 changed files with 3 additions and 0 deletions
  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")));
 	}
 }