Extra debug information in run_release_test (#19405)

This commit is contained in:
Sigurd Meldgaard
2018-07-16 15:46:19 +02:00
committed by GitHub
parent f6b234a0ea
commit f93a65a7f7

View File

@@ -69,8 +69,10 @@ void main() {
stdout.removeAt(0);
if (stdout.first == 'Installing build/app/outputs/apk/app.apk...')
stdout.removeAt(0);
if (stdout.join('\n') != '\nTo quit, press "q".\n\nApplication finished.')
throw 'flutter run --release had unexpected output after third line';
if (stdout.join('\n') != '\nTo quit, press "q".\n\nApplication finished.') {
throw 'flutter run --release had unexpected output after third line:\n'
'${stdout.join('\n')}';
}
});
return new TaskResult.success(null);
});