Unverified Commit 95a5a8d7 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Check for analyzer rule names instead of descriptions in a flutter_tools test (#107541)

The descriptions can change between different versions of the analyzer.
parent 82b843b3
......@@ -192,10 +192,10 @@ void main() {
arguments: <String>['analyze', '--no-pub'],
statusTextContains: <String>[
'Analyzing',
'info $analyzerSeparator Avoid empty else statements',
'info $analyzerSeparator Avoid empty statements',
"info $analyzerSeparator The declaration '_incrementCounter' isn't",
"warning $analyzerSeparator The parameter 'onPressed' is required",
'avoid_empty_else',
'empty_statements',
'unused_element',
'missing_required_param',
],
exitMessageContains: '4 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