mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
adjust channel_test to be less specific (#5721)
* adjust channel_test to be less specific fixes https://github.com/flutter/flutter/issues/5716
This commit is contained in:
parent
d6a6053630
commit
c57635f1a8
|
@ -19,10 +19,10 @@ void main() {
|
|||
expect(await runner.run(<String>['channel']), 0);
|
||||
BufferLogger logger = context[Logger];
|
||||
expect(logger.errorText, hasLength(0));
|
||||
expect(logger.statusText, contains('channels'));
|
||||
expect(logger.statusText, contains('master'));
|
||||
// fails on bots
|
||||
//expect(logger.statusText, contains('* ')); // current channel mark
|
||||
// The bots may return an empty list of channels (network hiccup?)
|
||||
// and when run locally the list of branches might be different
|
||||
// so we check for the header text rather than any specific channel name.
|
||||
expect(logger.statusText, contains('Flutter channels:'));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue