Check that header exists instead of content (#65961)

This commit is contained in:
Jenn Magder
2020-09-17 15:17:31 -07:00
committed by GitHub
parent af2143412f
commit c61c8f303b

View File

@@ -233,10 +233,7 @@ Future<void> main() async {
section("Check all modes' engine header");
for (final String mode in <String>['Debug', 'Profile', 'Release']) {
checkFileContains(
<String>['#import "FlutterEngine.h"'],
path.join(outputPath, mode, 'Flutter.framework', 'Headers', 'Flutter.h'),
);
checkFileExists(path.join(outputPath, mode, 'Flutter.framework', 'Headers', 'Flutter.h'));
}
section('Check all modes have plugins');