Fix stdout test (#43927)

This commit is contained in:
Emmanuel Garcia
2019-10-31 14:29:21 -07:00
committed by GitHub
parent c48f76c798
commit 7fe4ea2475

View File

@@ -73,7 +73,7 @@ void main() {
throw 'flutter run --release had unexpected second line: ${stdout.first}';
}
stdout.removeAt(0);
if (!(stdout.first.startsWith('Built build/app/outputs/apk/release/app-release.apk (') && stdout.first.endsWith('MB).'))) {
if (!(stdout.first.contains('Built build/app/outputs/apk/release/app-release.apk (') && stdout.first.contains('MB).'))) {
throw 'flutter run --release had unexpected third line: ${stdout.first}';
}
stdout.removeAt(0);