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:
parent
98e9032ca3
commit
ebeb491895
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user