From 24c8ace7b39b6110a204fb08e1510d4b170c7cc4 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Thu, 20 May 2021 15:18:58 -0700 Subject: [PATCH] fix flake (#82970) --- .../test/commands.shard/permeable/create_test.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)); }