Use the name of errors, not the diagnostic messages. (#117229)

* Use the name of errors, not the diagnostic messages.

* Trailing comma.
This commit is contained in:
Jackson Gardner 2022-12-16 14:19:55 -08:00 committed by GitHub
parent 98e9032ca3
commit ebeb491895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,9 +229,9 @@ void main() {
arguments: <String>['analyze', '--no-pub'],
statusTextContains: <String>[
'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,