| Index: tests/language/closure_in_constructor_test.dart
|
| diff --git a/tests/language/closure_in_constructor_test.dart b/tests/language/closure_in_constructor_test.dart
|
| index 1975cdc58a75c75086b1d25b6718db5c3ab74864..66ee970196cb99a8920866b1b5d2a74c12719526 100644
|
| --- a/tests/language/closure_in_constructor_test.dart
|
| +++ b/tests/language/closure_in_constructor_test.dart
|
| @@ -19,4 +19,8 @@ class A<T> {
|
| main() {
|
| Expect.isTrue((new A.factory()).closure() is List);
|
| Expect.isTrue((new A()).closure() is List);
|
| + Expect.isTrue((new A<int>.factory()).closure() is List<int>);
|
| + Expect.isTrue((new A<int>()).closure() is List<int>);
|
| + Expect.isFalse((new A<int>.factory()).closure() is List<String>);
|
| + Expect.isFalse((new A<int>()).closure() is List<String>);
|
| }
|
|
|