      );
      if (genSnapshotExitCode != 0) {
 diff --git a/packages/flutter_tools/test/base/build_test.dart b/packages/flutter_tools/test/base/build_test.dart
-index 3fc832eef..fefe5ccc0 100644
+index 81653aded..4d245a33d 100644
 --- a/packages/flutter_tools/test/base/build_test.dart
 +++ b/packages/flutter_tools/test/base/build_test.dart
 @@ -190,7 +190,6 @@ void main() {

     ]..addAll(additionalArgs);

     final String snapshotterPath = getSnapshotterPath(snapshotType);
@@ -194,7 +192,6 @@ class AOTSnapshotter {
     final SnapshotType snapshotType = SnapshotType(platform, buildMode);
     final int genSnapshotExitCode = await genSnapshot.run(
       snapshotType: snapshotType,

       expect(genSnapshot.additionalArgs, <String>[
         '--deterministic',
         '--snapshot_kind=app-jit',
@@ -714,7 +703,6 @@ void main() {
       expect(genSnapshot.callCount, 1);
       expect(genSnapshot.snapshotType.platform, TargetPlatform.android_arm64);
       expect(genSnapshot.snapshotType.mode, BuildMode.profile);
