Index: tests/language/abstract_getter_test.dart |
diff --git a/tests/language/abstract_getter_test.dart b/tests/language/abstract_getter_test.dart |
index 6a699f4c8fe294c739a47a155e9d40d9406330e9..7befb6c452ae4088d257b5e2caf6d20015cf9880 100644 |
--- a/tests/language/abstract_getter_test.dart |
+++ b/tests/language/abstract_getter_test.dart |
@@ -7,8 +7,7 @@ import "package:expect/expect.dart"; |
// Test to ensure that an abstract getter is not mistaken for a field. |
class Foo { |
- // Intentionally abstract: |
- get i; /// 01: static type warning |
+ get i; // Abstract. |
} |
class Bar { |
@@ -17,9 +16,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); |
+ Expect.throws(() { print(f.i); }, noMethod); |
+ Expect.throws(() { print(f.i()); }, noMethod); |
} |
main() { |