From 405d1c473bd20c901389a8602cb72867a0dca972 Mon Sep 17 00:00:00 2001 From: Mikkel Nygaard Ravn Date: Thu, 16 Aug 2018 13:22:13 +0200 Subject: [PATCH] Avoid having flutter_tools test outcome depend on packages get (#20683) --- packages/flutter_tools/test/commands/test_test.dart | 2 ++ 1 file changed, 2 insertions(+) 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();