[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?
This commit is contained in:
parent
8ac94c16b2
commit
800175af6b
@ -582,7 +582,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
expect(result.exitCode, 0);
|
expect(result.exitCode, 0);
|
||||||
expect(result.stderr, isEmpty);
|
expect(result.stderr, isEmpty);
|
||||||
expect(result.stdout, <Object>[
|
expect(result.stdout, containsAllInOrder(<Object>[
|
||||||
startsWith('Launching '),
|
startsWith('Launching '),
|
||||||
startsWith('Syncing files to device Flutter test device...'),
|
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://'),
|
startsWith('The Flutter DevTools debugger and profiler on Flutter test device is available at: http://'),
|
||||||
'',
|
'',
|
||||||
'Application finished.',
|
'Application finished.',
|
||||||
]);
|
]));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user