Avoid having flutter_tools test outcome depend on packages get (#20683)
This commit is contained in:
committed by
GitHub
parent
d4e5e1e11e
commit
405d1c473b
@@ -106,6 +106,8 @@ Future<Null> _testFile(String testName, String workingDirectory, String testDire
|
||||
final List<String> output = exec.stdout.split('\n');
|
||||
if (output.first == 'Waiting for another flutter command to release the startup lock...')
|
||||
output.removeAt(0);
|
||||
if (output.first.startsWith('Running "flutter packages get" in'))
|
||||
output.removeAt(0);
|
||||
output.add('<<stderr>>');
|
||||
output.addAll(exec.stderr.split('\n'));
|
||||
final List<String> expectations = fs.file(fullTestExpectation).readAsLinesSync();
|
||||
|
||||
Reference in New Issue
Block a user