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'],
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user