| Index: tests/language/abstract_getter_test.dart
|
| diff --git a/tests/language/abstract_getter_test.dart b/tests/language/abstract_getter_test.dart
|
| index 964cf80609a54d2732b66246fe8f0660c44c31d4..32174f2b016d02a98cc5eb7b54eb816b6d16276d 100644
|
| --- a/tests/language/abstract_getter_test.dart
|
| +++ b/tests/language/abstract_getter_test.dart
|
| @@ -8,7 +8,7 @@ import "package:expect/expect.dart";
|
|
|
| class Foo {
|
| // Intentionally abstract:
|
| - get i; // /// 01: static type warning
|
| + get i; // //# 01: static type warning
|
| }
|
|
|
| class Bar {
|
| @@ -17,9 +17,9 @@ class Bar {
|
| noMethod(e) => e is NoSuchMethodError;
|
|
|
| checkIt(f) {
|
| - Expect.throws(() { f.i = 'hi'; }, noMethod); // /// 01: continued
|
| - Expect.throws(() { print(f.i); }, noMethod); // /// 01: continued
|
| - Expect.throws(() { print(f.i()); }, noMethod); // /// 01: continued
|
| + Expect.throws(() { f.i = 'hi'; }, noMethod); // //# 01: continued
|
| + Expect.throws(() { print(f.i); }, noMethod); // //# 01: continued
|
| + Expect.throws(() { print(f.i()); }, noMethod); // //# 01: continued
|
| }
|
|
|
| main() {
|
|
|