Skip to content

Commit

Permalink
Use the name of errors, not the diagnostic messages. (#117229)
Browse files Browse the repository at this point in the history
* Use the name of errors, not the diagnostic messages.

* Trailing comma.
  • Loading branch information
eyebrowsoffire authored Dec 16, 2022
1 parent 98e9032 commit ebeb491
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ebeb491

Please sign in to comment.