diff --git a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart index 72f13e6890..60c981ad37 100644 --- a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart +++ b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart @@ -229,9 +229,9 @@ void main() { arguments: ['analyze', '--no-pub'], statusTextContains: [ 'Analyzing', - "info $analyzerSeparator The declaration '_incrementCounter' isn't", - 'info $analyzerSeparator Only throw instances of classes extending either Exception or Error', - "warning $analyzerSeparator The parameter 'onPressed' is required", + 'unused_element', + 'only_throw_errors', + 'missing_required_param', ], exitMessageContains: '3 issues found.', exitCode: 1,