fix flake (#82970)
This commit is contained in:
committed by
GitHub
parent
d631653078
commit
24c8ace7b3
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user