fix routing_test by making it less sensitive to whitespace (#11137)

This commit is contained in:
Yegor 2017-07-10 13:03:03 -07:00 committed by GitHub
parent 561e7773c2
commit a796438086

View File

@ -39,7 +39,7 @@ void main() {
.transform(const LineSplitter())
.listen((String line) {
print('run:stdout: $line');
if (line == '[ ] For a more detailed help message, press "h". To quit, press "q".') {
if (line.contains(new RegExp(r'^\[\s+\] For a more detailed help message, press "h"\. To quit, press "q"\.'))) {
print('run: ready!');
ready.complete();
ok ??= true;