Unverified Commit ebeb4918 authored by Jackson Gardner's avatar Jackson Gardner Committed by GitHub

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

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

* Trailing comma.
parent 98e9032c
...@@ -229,9 +229,9 @@ void main() { ...@@ -229,9 +229,9 @@ void main() {
arguments: <String>['analyze', '--no-pub'], arguments: <String>['analyze', '--no-pub'],
statusTextContains: <String>[ statusTextContains: <String>[
'Analyzing', 'Analyzing',
"info $analyzerSeparator The declaration '_incrementCounter' isn't", 'unused_element',
'info $analyzerSeparator Only throw instances of classes extending either Exception or Error', 'only_throw_errors',
"warning $analyzerSeparator The parameter 'onPressed' is required", 'missing_required_param',
], ],
exitMessageContains: '3 issues found.', exitMessageContains: '3 issues found.',
exitCode: 1, exitCode: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment