Commit a7964380 authored by Yegor's avatar Yegor Committed by GitHub

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

parent 561e7773
......@@ -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;
......
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