diff --git a/packages/flutter_tools/test/commands/test_test.dart b/packages/flutter_tools/test/commands/test_test.dart index ad3a59eb86..6aa542ffa5 100644 --- a/packages/flutter_tools/test/commands/test_test.dart +++ b/packages/flutter_tools/test/commands/test_test.dart @@ -106,6 +106,8 @@ Future _testFile(String testName, String workingDirectory, String testDire final List 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('<>'); output.addAll(exec.stderr.split('\n')); final List expectations = fs.file(fullTestExpectation).readAsLinesSync();