Reland: Reword flutter run help screen. (#48423)

This commit is contained in:
Zachary Anderson
2020-01-09 08:18:03 -08:00
committed by Flutter GitHub Bot
parent 0bbbd04107
commit 23ce192a8f
10 changed files with 347 additions and 75 deletions

View File

@@ -33,7 +33,7 @@ Future<void> testReload(Process process, { Future<void> Function() onListening }
stdout.add(line);
if (line.contains('Waiting') && onListening != null)
listening.complete(onListening());
if (line.contains('To detach, press "d"; to quit, press "q".'))
if (line.contains('Quit (terminate the application on the device)'))
ready.complete();
if (line.contains('Reloaded '))
reloaded.complete();

View File

@@ -46,7 +46,7 @@ void main() {
) {
stdout.add(line);
}
if (line.contains('To quit, press "q".')) {
if (line.contains('Quit (terminate the application on the device).')) {
ready.complete();
}
});
@@ -96,8 +96,8 @@ void main() {
_findNextMatcherInList(
stdout,
(String line) => line == 'To quit, press "q".',
'To quit, press "q".',
(String line) => line.contains('Quit (terminate the application on the device).'),
'q Quit (terminate the application on the device)',
);
_findNextMatcherInList(