Skip to content

Commit 405d1c4

Browse files
authored
Avoid having flutter_tools test outcome depend on packages get (flutter#20683)
1 parent d4e5e1e commit 405d1c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/flutter_tools/test/commands/test_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ Future<Null> _testFile(String testName, String workingDirectory, String testDire
106106
final List<String> output = exec.stdout.split('\n');
107107
if (output.first == 'Waiting for another flutter command to release the startup lock...')
108108
output.removeAt(0);
109+
if (output.first.startsWith('Running "flutter packages get" in'))
110+
output.removeAt(0);
109111
output.add('<<stderr>>');
110112
output.addAll(exec.stderr.split('\n'));
111113
final List<String> expectations = fs.file(fullTestExpectation).readAsLinesSync();

0 commit comments

Comments
 (0)