Index: pkg/analyzer/test/generated/static_warning_code_test.dart |
diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart |
index ae7719fc8e7358da1b9a39b2196327982cf38801..53da198e3630b38cb85f4f285b9f5e460ffce09d 100644 |
--- a/pkg/analyzer/test/generated/static_warning_code_test.dart |
+++ b/pkg/analyzer/test/generated/static_warning_code_test.dart |
@@ -3731,6 +3731,6 @@ class S { |
void get value {} |
}'''); |
await computeAnalysisResult(source); |
- assertNoErrors(source); |
+ assertErrors(source, [StaticWarningCode.VOID_RETURN_FOR_GETTER]); |
} |
} |