From 800175af6bcf97ca04c51c6efa4e58910c7a1e64 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Thu, 20 Apr 2023 10:31:58 -0700 Subject: [PATCH] [flutter_tools] make overall_experience_test resilient to extraneous pub output (#125172) use `containsAllInOrder` so that pub output doesn't cause htis test to fail, as in https://ci.chromium.org/p/flutter/builders/try/Linux%20tool_tests_general/22929? --- .../test/integration.shard/overall_experience_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart index 5b2c1400061..e9071b5a557 100644 --- a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart +++ b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart @@ -582,7 +582,7 @@ void main() { ); expect(result.exitCode, 0); expect(result.stderr, isEmpty); - expect(result.stdout, [ + expect(result.stdout, containsAllInOrder([ startsWith('Launching '), startsWith('Syncing files to device Flutter test device...'), '', @@ -626,6 +626,6 @@ void main() { startsWith('The Flutter DevTools debugger and profiler on Flutter test device is available at: http://'), '', 'Application finished.', - ]); + ])); }); }