Commit c57635f1 authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

adjust channel_test to be less specific (#5721)

* adjust channel_test to be less specific
fixes https://github.com/flutter/flutter/issues/5716
parent d6a60536
...@@ -19,10 +19,10 @@ void main() { ...@@ -19,10 +19,10 @@ void main() {
expect(await runner.run(<String>['channel']), 0); expect(await runner.run(<String>['channel']), 0);
BufferLogger logger = context[Logger]; BufferLogger logger = context[Logger];
expect(logger.errorText, hasLength(0)); expect(logger.errorText, hasLength(0));
expect(logger.statusText, contains('channels')); // The bots may return an empty list of channels (network hiccup?)
expect(logger.statusText, contains('master')); // and when run locally the list of branches might be different
// fails on bots // so we check for the header text rather than any specific channel name.
//expect(logger.statusText, contains('* ')); // current channel mark expect(logger.statusText, contains('Flutter channels:'));
}); });
}); });
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment