Skip to content

Commit ddc9b40

Browse files
authored
Fix typo in function name (#136273)
Rename `removeIOSimulator` to `removeIOSSimulator`.
1 parent f65dd3b commit ddc9b40

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios_simulator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Future<void> main() async {
1919
await createHotModeTest(deviceIdOverride: deviceId, checkAppRunningOnLocalDevice: true)();
2020
});
2121
} finally {
22-
await removeIOSimulator(simulatorDeviceId);
22+
await removeIOSSimulator(simulatorDeviceId);
2323
}
2424

2525
return TaskResult.success(null);

dev/devicelab/bin/tasks/module_test_ios.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ end
663663
} catch (e) {
664664
return TaskResult.failure(e.toString());
665665
} finally {
666-
unawaited(removeIOSimulator(simulatorDeviceId));
666+
unawaited(removeIOSSimulator(simulatorDeviceId));
667667
rmTree(tempDir);
668668
}
669669
});

dev/devicelab/bin/tasks/native_assets_ios_simulator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Future<void> main() async {
2424
},
2525
);
2626
} finally {
27-
await removeIOSimulator(simulatorDeviceId);
27+
await removeIOSSimulator(simulatorDeviceId);
2828
}
2929
return TaskResult.success(null);
3030
});

dev/devicelab/lib/framework/ios.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Future<String?> minPhoneOSVersion(String pathToBinary) async {
5050
/// Creates and boots a new simulator, passes the new simulator's identifier to
5151
/// `testFunction`.
5252
///
53-
/// Remember to call removeIOSimulator in the test teardown.
53+
/// Remember to call removeIOSSimulator in the test teardown.
5454
Future<void> testWithNewIOSSimulator(
5555
String deviceName,
5656
SimulatorFunction testFunction, {
@@ -110,7 +110,7 @@ Future<void> testWithNewIOSSimulator(
110110
}
111111

112112
/// Shuts down and deletes simulator with deviceId.
113-
Future<void> removeIOSimulator(String? deviceId) async {
113+
Future<void> removeIOSSimulator(String? deviceId) async {
114114
if (deviceId != null && deviceId != '') {
115115
await eval(
116116
'xcrun',

dev/devicelab/lib/tasks/plugin_tests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public class $pluginClass: NSObject, FlutterPlugin {
278278
}
279279
});
280280
} finally {
281-
await removeIOSimulator(simulatorDeviceId);
281+
await removeIOSSimulator(simulatorDeviceId);
282282
}
283283
case 'linux':
284284
if (await exec(

0 commit comments

Comments
 (0)