diff --git a/packages/flutter_tools/test/commands.shard/permeable/create_test.dart b/packages/flutter_tools/test/commands.shard/permeable/create_test.dart index 8809517e4f..a9f033b395 100755 --- a/packages/flutter_tools/test/commands.shard/permeable/create_test.dart +++ b/packages/flutter_tools/test/commands.shard/permeable/create_test.dart @@ -2661,8 +2661,11 @@ Future _analyzeProject(String workingDir, { List expectedFailures return '$location: $lintName'; } final List errors = const LineSplitter().convert(exec.stdout.toString()) - .where((String line) => line.trim().isNotEmpty && !line.startsWith('Analyzing')) - .map(lineParser).toList(); + .where((String line) { + return line.trim().isNotEmpty && + !line.startsWith('Analyzing') && + !line.contains('flutter pub get'); + }).map(lineParser).toList(); expect(errors, unorderedEquals(expectedFailures)); }