Unverified Commit 24c8ace7 authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

fix flake (#82970)

parent d6316530
...@@ -2661,8 +2661,11 @@ Future<void> _analyzeProject(String workingDir, { List<String> expectedFailures ...@@ -2661,8 +2661,11 @@ Future<void> _analyzeProject(String workingDir, { List<String> expectedFailures
return '$location: $lintName'; return '$location: $lintName';
} }
final List<String> errors = const LineSplitter().convert(exec.stdout.toString()) final List<String> errors = const LineSplitter().convert(exec.stdout.toString())
.where((String line) => line.trim().isNotEmpty && !line.startsWith('Analyzing')) .where((String line) {
.map(lineParser).toList(); return line.trim().isNotEmpty &&
!line.startsWith('Analyzing') &&
!line.contains('flutter pub get');
}).map(lineParser).toList();
expect(errors, unorderedEquals(expectedFailures)); expect(errors, unorderedEquals(expectedFailures));
} }
......
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