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() {
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,
......
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