| Index: tests/language/assign_to_type_test.dart
|
| diff --git a/tests/language/assign_to_type_test.dart b/tests/language/assign_to_type_test.dart
|
| index 97da693b6eb41d872a74379a9dc73e7492e9d004..7ecd74b09f43a922cba5e763a0a482236fc013f2 100644
|
| --- a/tests/language/assign_to_type_test.dart
|
| +++ b/tests/language/assign_to_type_test.dart
|
| @@ -11,7 +11,7 @@ noMethod(e) => e is NoSuchMethodError;
|
|
|
| class C<T> {
|
| f() {
|
| - Expect.throws(() => T = null, noMethod); /// 01: static type warning
|
| + Expect.throws(() => T = null, noMethod); //# 01: static type warning
|
| }
|
| }
|
|
|
| @@ -23,7 +23,7 @@ typedef void F();
|
|
|
| main() {
|
| new C<D>().f();
|
| - Expect.throws(() => D = null, noMethod); /// 02: static type warning
|
| - Expect.throws(() => E = null, noMethod); /// 03: static type warning
|
| - Expect.throws(() => F = null, noMethod); /// 04: static type warning
|
| + Expect.throws(() => D = null, noMethod); //# 02: static type warning
|
| + Expect.throws(() => E = null, noMethod); //# 03: static type warning
|
| + Expect.throws(() => F = null, noMethod); //# 04: static type warning
|
| }
|
|
|