Skip to content

Commit 800175a

Browse files
[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?
1 parent 8ac94c1 commit 800175a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_tools/test/integration.shard/overall_experience_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ void main() {
582582
);
583583
expect(result.exitCode, 0);
584584
expect(result.stderr, isEmpty);
585-
expect(result.stdout, <Object>[
585+
expect(result.stdout, containsAllInOrder(<Object>[
586586
startsWith('Launching '),
587587
startsWith('Syncing files to device Flutter test device...'),
588588
'',
@@ -626,6 +626,6 @@ void main() {
626626
startsWith('The Flutter DevTools debugger and profiler on Flutter test device is available at: http://'),
627627
'',
628628
'Application finished.',
629-
]);
629+
]));
630630
});
631631
}

0 commit comments

Comments
 (0)