| Index: tests/language/issue10747_test.dart
|
| diff --git a/tests/language/issue10747_test.dart b/tests/language/issue10747_test.dart
|
| index fda6c492a4234464f6762c50b6885e274f67d1e9..323a215bea6b6803aeb10b55c46731c412dbffeb 100644
|
| --- a/tests/language/issue10747_test.dart
|
| +++ b/tests/language/issue10747_test.dart
|
| @@ -4,8 +4,7 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -class B<T> {
|
| -}
|
| +class B<T> {}
|
|
|
| class A<T> {
|
| var field;
|
| @@ -17,12 +16,9 @@ class A<T> {
|
| main() {
|
| Expect.equals(42, new A<int>(42).asTypeVariable());
|
| Expect.throws(
|
| - () => new A<String>(42).asTypeVariable(),
|
| - (e) => e is CastError);
|
| + () => new A<String>(42).asTypeVariable(), (e) => e is CastError);
|
|
|
| var b = new B<int>();
|
| Expect.equals(b, new A<int>(b).asBOfT());
|
| - Expect.throws(
|
| - () => new A<String>(b).asBOfT(),
|
| - (e) => e is CastError);
|
| + Expect.throws(() => new A<String>(b).asBOfT(), (e) => e is CastError);
|
| }
|
|
|