| Index: pkg/analyzer/test/generated/strong_mode_test.dart
|
| diff --git a/pkg/analyzer/test/generated/strong_mode_test.dart b/pkg/analyzer/test/generated/strong_mode_test.dart
|
| index 3d1948f3e595ed1bc48493d496525fb26167ea9c..5eddb57d8f9205fce14fe864ca504cb6e6a0da28 100644
|
| --- a/pkg/analyzer/test/generated/strong_mode_test.dart
|
| +++ b/pkg/analyzer/test/generated/strong_mode_test.dart
|
| @@ -2080,7 +2080,6 @@ class A {
|
| }
|
| dynamic set g(int x) => null;
|
| ''');
|
| - computeLibrarySourceErrors(source);
|
| assertErrors(source, [
|
| StaticWarningCode.NON_VOID_RETURN_FOR_SETTER,
|
| StaticWarningCode.NON_VOID_RETURN_FOR_SETTER
|
| @@ -2096,7 +2095,6 @@ class A {
|
| }
|
| void set g(int x) => returnsVoid();
|
| ''');
|
| - computeLibrarySourceErrors(source);
|
| assertNoErrors(source);
|
| verify([source]);
|
| }
|
| @@ -2110,7 +2108,6 @@ class A {
|
| }
|
| set g(int x) => 42;
|
| ''');
|
| - computeLibrarySourceErrors(source);
|
| assertErrors(source, [
|
| StaticTypeWarningCode.RETURN_OF_INVALID_TYPE,
|
| ]);
|
| @@ -2125,7 +2122,6 @@ class A {
|
| }
|
| set g(int x) => returnsVoid();
|
| ''');
|
| - computeLibrarySourceErrors(source);
|
| assertNoErrors(source);
|
| verify([source]);
|
| }
|
| @@ -2137,7 +2133,6 @@ class A {
|
| }
|
| Object set g(x) => null;
|
| ''');
|
| - computeLibrarySourceErrors(source);
|
| assertErrors(source, [
|
| StaticWarningCode.NON_VOID_RETURN_FOR_SETTER,
|
| StaticWarningCode.NON_VOID_RETURN_FOR_SETTER
|
|
|