flutter_build_null_unsafe_test print failed build output (#98310)

This commit is contained in:
Jenn Magder 2022-02-11 22:00:18 -08:00 committed by GitHub
parent 1be67ab944
commit 262a963efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,10 @@ String unsafeString = null;
'--no-sound-null-safety',
if (targetPlatform == 'ios') '--no-codesign',
], workingDirectory: projectRoot.path);
expect(result.exitCode, 0);
if (result.exitCode != 0) {
fail('build --no-sound-null-safety failed: ${result.exitCode}\n${result.stderr}\n${result.stdout}');
}
});
}
}