diff --git a/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart b/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart index 8ee658c21a..a3d857e732 100644 --- a/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart +++ b/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart @@ -233,10 +233,7 @@ Future main() async { section("Check all modes' engine header"); for (final String mode in ['Debug', 'Profile', 'Release']) { - checkFileContains( - ['#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');