Skip to content

Commit ebeb491

Browse files
Use the name of errors, not the diagnostic messages. (#117229)
* Use the name of errors, not the diagnostic messages. * Trailing comma.
1 parent 98e9032 commit ebeb491

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/flutter_tools/test/integration.shard/analyze_once_test.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ void main() {
229229
arguments: <String>['analyze', '--no-pub'],
230230
statusTextContains: <String>[
231231
'Analyzing',
232-
"info $analyzerSeparator The declaration '_incrementCounter' isn't",
233-
'info $analyzerSeparator Only throw instances of classes extending either Exception or Error',
234-
"warning $analyzerSeparator The parameter 'onPressed' is required",
232+
'unused_element',
233+
'only_throw_errors',
234+
'missing_required_param',
235235
],
236236
exitMessageContains: '3 issues found.',
237237
exitCode: 1,

0 commit comments

Comments
 (0)