Merge pull request #1807 from dart-lang/ext_test_fix

fix test parse error
diff --git a/test/rules/type_annotate_public_apis.dart b/test/rules/type_annotate_public_apis.dart
index 6471bdb..90b6cd9 100644
--- a/test/rules/type_annotate_public_apis.dart
+++ b/test/rules/type_annotate_public_apis.dart
@@ -75,7 +75,7 @@
 
 extension Ext on A {
   set x(x) { }  // LINT
-  set _x(x); // OK
+  set _x(x) { } // OK
   get x => 0; // LINT
 
   f() {} // LINT