Index: pkg/analysis_server/test/abstract_single_unit.dart |
diff --git a/pkg/analysis_server/test/abstract_single_unit.dart b/pkg/analysis_server/test/abstract_single_unit.dart |
index b5154761d7cb7a8ba82e0542dce26e2b48ef7e83..69d9331ceed0441810c740104881bc88adbddae1 100644 |
--- a/pkg/analysis_server/test/abstract_single_unit.dart |
+++ b/pkg/analysis_server/test/abstract_single_unit.dart |
@@ -102,9 +102,8 @@ class AbstractSingleUnitTest extends AbstractContextTest { |
testUnit = (result).unit; |
if (verifyNoTestUnitErrors) { |
expect(result.errors.where((AnalysisError error) { |
- return |
- error.errorCode != HintCode.DEAD_CODE && |
- error.errorCode != HintCode.UNUSED_CATCH_CLAUSE && |
+ return error.errorCode != HintCode.DEAD_CODE && |
+ error.errorCode != HintCode.UNUSED_CATCH_CLAUSE && |
error.errorCode != HintCode.UNUSED_CATCH_STACK && |
error.errorCode != HintCode.UNUSED_ELEMENT && |
error.errorCode != HintCode.UNUSED_FIELD && |