From ebeb4918957a5116df1ff18144d9a89d5fba9d4f Mon Sep 17 00:00:00 2001 From: Jackson Gardner Date: Fri, 16 Dec 2022 14:19:55 -0800 Subject: [PATCH] Use the name of errors, not the diagnostic messages. (#117229) * Use the name of errors, not the diagnostic messages. * Trailing comma. --- .../test/integration.shard/analyze_once_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,