| Index: test/rules/type_annotate_public_apis.dart
|
| diff --git a/test/rules/type_annotate_public_apis.dart b/test/rules/type_annotate_public_apis.dart
|
| index c0c450b5a05a3449d3986e59d3c00200547338ad..e4bb2375f86f80c021f22843b02351c348e9cdff 100644
|
| --- a/test/rules/type_annotate_public_apis.dart
|
| +++ b/test/rules/type_annotate_public_apis.dart
|
| @@ -12,6 +12,14 @@ typedef Foo(x); //LINT
|
|
|
| typedef void Bar(int x);
|
|
|
| +int get xxx => 42; //OK: #151
|
| +
|
| +get xxxx => 42; //LINT
|
| +
|
| +set x(x) { } //LINT
|
| +
|
| +set xx(int x) { } //OK
|
| +
|
| _f() {}
|
| const _X = '';
|
|
|
| @@ -22,6 +30,14 @@ class A {
|
| static const y = ''; //LINT
|
| static final z = 3; //LINT
|
|
|
| + int get xxx => 42; //OK: #151
|
| +
|
| + set xxxxx(x) { } //LINT
|
| +
|
| + set xx(int x) { } //OK
|
| +
|
| + get xxxx => 42; //LINT
|
| +
|
| var zzz, //LINT
|
| _zzz;
|
|
|
|
|