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
return '$location: $lintName';
}
final List<String> errors = const LineSplitter().convert(exec.stdout.toString())
.where((String line) => line.trim().isNotEmpty && !line.startsWith('Analyzing'))
.map(lineParser).toList();
.where((String line) {
return line.trim().isNotEmpty &&
!line.startsWith('Analyzing') &&
!line.contains('flutter pub get');
}).map(lineParser).toList();
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