remove Downloading ... stderr messages (#92211)
This commit is contained in:
parent
4d70c13808
commit
44bf975115
@ -250,6 +250,9 @@ Future<void> _testFile(
|
|||||||
if (output.first.startsWith('Running "flutter pub get" in')) {
|
if (output.first.startsWith('Running "flutter pub get" in')) {
|
||||||
output.removeAt(0);
|
output.removeAt(0);
|
||||||
}
|
}
|
||||||
|
// Whether cached artifacts need to be downloaded is dependent on what
|
||||||
|
// previous tests have run. Disregard these messages.
|
||||||
|
output.removeWhere(RegExp(r'Downloading .*\.\.\.').hasMatch);
|
||||||
output.add('<<stderr>>');
|
output.add('<<stderr>>');
|
||||||
output.addAll((exec.stderr as String).split('\n'));
|
output.addAll((exec.stderr as String).split('\n'));
|
||||||
final List<String> expectations = fileSystem.file(fullTestExpectation).readAsLinesSync();
|
final List<String> expectations = fileSystem.file(fullTestExpectation).readAsLinesSync();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user