From e063f56832f9fb7c5f9be274f0187106fa343c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anis=20Alibegi=C4=87?= Date: Tue, 16 Jan 2024 22:40:08 +0100 Subject: [PATCH] Fixed few typos (#141543) I continued [my mission](https://github.com/flutter/flutter/pull/141431) to find as many typos as I could. This time it's a smaller set than before. There is no need for issues since it's a typo fix. --- .github/ISSUE_TEMPLATE/7_cherry_pick.yml | 2 +- dev/bots/custom_rules/no_stop_watches.dart | 6 +++--- dev/tools/localization/bin/gen_subtag_registry.dart | 2 +- packages/flutter/lib/src/material/checkbox.dart | 2 +- packages/flutter/lib/src/material/input_decorator.dart | 2 +- packages/flutter/lib/src/material/slider_theme.dart | 4 ++-- packages/flutter/lib/src/material/snack_bar.dart | 2 +- packages/flutter/lib/src/painting/image_provider.dart | 2 +- packages/flutter/lib/src/painting/text_painter.dart | 2 +- packages/flutter/lib/src/rendering/paragraph.dart | 6 +++--- packages/flutter/lib/src/widgets/overlay.dart | 4 ++-- packages/flutter/lib/src/widgets/selectable_region.dart | 6 +++--- packages/flutter/lib/src/widgets/text_selection.dart | 2 +- packages/flutter/test/cupertino/text_field_test.dart | 2 +- packages/flutter/test/material/date_picker_test.dart | 4 ++-- packages/flutter/test/material/input_decorator_test.dart | 2 +- packages/flutter/test/material/text_field_test.dart | 2 +- packages/flutter/test/widgets/selectable_region_test.dart | 2 +- .../widgets/text_scaler_backward_compatibility_test.dart | 2 +- .../flutter_driver/test/src/real_tests/extension_test.dart | 4 ++-- .../flutter_tools/gradle/src/main/groovy/flutter.groovy | 4 ++-- packages/flutter_tools/lib/src/android/gradle_utils.dart | 2 +- .../lib/src/debug_adapters/flutter_base_adapter.dart | 2 +- packages/flutter_tools/lib/src/doctor.dart | 2 +- packages/flutter_tools/lib/src/ios/xcresult.dart | 2 +- packages/flutter_tools/lib/src/native_assets.dart | 4 ++-- .../templates/plugin_ffi/android.tmpl/build.gradle.tmpl | 2 +- .../test/general.shard/android/android_studio_test.dart | 6 +++--- .../test/general.shard/android/gradle_utils_test.dart | 2 +- .../build_system/targets/native_assets_test.dart | 2 +- .../flutter_tools/test/general.shard/dart_plugin_test.dart | 2 +- packages/flutter_tools/test/general.shard/device_test.dart | 2 +- packages/flutter_tools/test/general.shard/hot_test.dart | 2 +- .../ios/ios_device_start_nonprebuilt_test.dart | 2 +- .../test/general.shard/linux/native_assets_test.dart | 2 +- .../test/general.shard/macos/native_assets_test.dart | 2 +- .../test/general.shard/mdns_discovery_test.dart | 2 +- .../test/general.shard/windows/native_assets_test.dart | 2 +- 38 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/7_cherry_pick.yml b/.github/ISSUE_TEMPLATE/7_cherry_pick.yml index 32378dcd05b..d8e8aa701ae 100644 --- a/.github/ISSUE_TEMPLATE/7_cherry_pick.yml +++ b/.github/ISSUE_TEMPLATE/7_cherry_pick.yml @@ -26,7 +26,7 @@ body: label: PR Link description: >- Link to an open PR that cherrypick's this into the target release branch. - The current branches can be found under release-caniddate-branch.version for [beta](https://github.com/flutter/flutter/blob/beta/bin/internal/release-candidate-branch.version) and [stable](https://github.com/flutter/flutter/blob/stable/bin/internal/release-candidate-branch.version) + The current branches can be found under release-candidate-branch.version for [beta](https://github.com/flutter/flutter/blob/beta/bin/internal/release-candidate-branch.version) and [stable](https://github.com/flutter/flutter/blob/stable/bin/internal/release-candidate-branch.version) validations: required: true - type: textarea diff --git a/dev/bots/custom_rules/no_stop_watches.dart b/dev/bots/custom_rules/no_stop_watches.dart index cd92807ebae..f42679e76f2 100644 --- a/dev/bots/custom_rules/no_stop_watches.dart +++ b/dev/bots/custom_rules/no_stop_watches.dart @@ -70,7 +70,7 @@ class _StopwatchVisitor extends RecursiveAstVisitor { final Map _isStopwatchClassElementCache = {}; - bool _checkIfImplementsStopwatchRecurively(ClassElement classElement) { + bool _checkIfImplementsStopwatchRecursively(ClassElement classElement) { if (classElement.library.isDartCore) { return classElement.name == 'Stopwatch'; } @@ -80,11 +80,11 @@ class _StopwatchVisitor extends RecursiveAstVisitor { }); } - // The cached version, call this method instead of _checkIfImplementsStopwatchRecurively. + // The cached version, call this method instead of _checkIfImplementsStopwatchRecursively. bool _implementsStopwatch(ClassElement classElement) { return classElement.library.isDartCore ? classElement.name == 'Stopwatch' - :_isStopwatchClassElementCache.putIfAbsent(classElement, () => _checkIfImplementsStopwatchRecurively(classElement)); + :_isStopwatchClassElementCache.putIfAbsent(classElement, () => _checkIfImplementsStopwatchRecursively(classElement)); } bool _isInternal(LibraryElement libraryElement) { diff --git a/dev/tools/localization/bin/gen_subtag_registry.dart b/dev/tools/localization/bin/gen_subtag_registry.dart index 5205432c272..cd5106fb350 100644 --- a/dev/tools/localization/bin/gen_subtag_registry.dart +++ b/dev/tools/localization/bin/gen_subtag_registry.dart @@ -8,7 +8,7 @@ import 'dart:io'; const String registry = 'https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry'; /// A script to generate a Dart cache of https://www.iana.org. This should be -/// run occasionally. It was created since iana.org was found to be flakey. +/// run occasionally. It was created since iana.org was found to be flaky. /// /// To execute: dart gen_subtag_registry.dart > language_subtag_registry.dart Future main() async { diff --git a/packages/flutter/lib/src/material/checkbox.dart b/packages/flutter/lib/src/material/checkbox.dart index c6bd10b8a15..25c5ad532bc 100644 --- a/packages/flutter/lib/src/material/checkbox.dart +++ b/packages/flutter/lib/src/material/checkbox.dart @@ -393,7 +393,7 @@ class Checkbox extends StatefulWidget { final bool isError; /// {@template flutter.material.checkbox.semanticLabel} - /// The semantic label for the checkobox that will be announced by screen readers. + /// The semantic label for the checkbox that will be announced by screen readers. /// /// This is announced in accessibility modes (e.g TalkBack/VoiceOver). /// diff --git a/packages/flutter/lib/src/material/input_decorator.dart b/packages/flutter/lib/src/material/input_decorator.dart index 607e8ee63ae..85a3b90db12 100644 --- a/packages/flutter/lib/src/material/input_decorator.dart +++ b/packages/flutter/lib/src/material/input_decorator.dart @@ -33,7 +33,7 @@ const double _kFinalLabelScale = 0.75; // The default duration for hint fade in/out transitions. // // Animating hint is not mentioned in the Material specification. -// The animation is kept for backard compatibility and a short duration +// The animation is kept for backward compatibility and a short duration // is used to mitigate the UX impact. const Duration _kHintFadeTransitionDuration = Duration(milliseconds: 20); diff --git a/packages/flutter/lib/src/material/slider_theme.dart b/packages/flutter/lib/src/material/slider_theme.dart index 2d4f8444cc9..4b8a623d5d7 100644 --- a/packages/flutter/lib/src/material/slider_theme.dart +++ b/packages/flutter/lib/src/material/slider_theme.dart @@ -1531,7 +1531,7 @@ mixin BaseSliderTrackShape { final double trackTop = offset.dy + (parentBox.size.height - trackHeight) / 2; final double trackRight = trackLeft + parentBox.size.width - math.max(thumbWidth, overlayWidth); final double trackBottom = trackTop + trackHeight; - // If the parentBox'size less than slider's size the trackRight will be less than trackLeft, so switch them. + // If the parentBox's size less than slider's size the trackRight will be less than trackLeft, so switch them. return Rect.fromLTRB(math.min(trackLeft, trackRight), trackTop, math.max(trackLeft, trackRight), trackBottom); } } @@ -1830,7 +1830,7 @@ mixin BaseRangeSliderTrackShape { final double trackTop = offset.dy + (parentBox.size.height - trackHeight) / 2; final double trackRight = trackLeft + parentBox.size.width - math.max(thumbWidth, overlayWidth); final double trackBottom = trackTop + trackHeight; - // If the parentBox'size less than slider's size the trackRight will be less than trackLeft, so switch them. + // If the parentBox's size less than slider's size the trackRight will be less than trackLeft, so switch them. return Rect.fromLTRB(math.min(trackLeft, trackRight), trackTop, math.max(trackLeft, trackRight), trackBottom); } } diff --git a/packages/flutter/lib/src/material/snack_bar.dart b/packages/flutter/lib/src/material/snack_bar.dart index 51f8ce1cf9c..4b602e29dbf 100644 --- a/packages/flutter/lib/src/material/snack_bar.dart +++ b/packages/flutter/lib/src/material/snack_bar.dart @@ -116,7 +116,7 @@ class SnackBarAction extends StatefulWidget { /// [SnackBarAction] is dismissed. final Color? disabledTextColor; - /// The button diabled background color. This color is shown after the + /// The button disabled background color. This color is shown after the /// [SnackBarAction] is dismissed. /// /// If not provided, defaults to [SnackBarThemeData.disabledActionBackgroundColor]. diff --git a/packages/flutter/lib/src/painting/image_provider.dart b/packages/flutter/lib/src/painting/image_provider.dart index 1a03c04d9ba..ae2ef079878 100644 --- a/packages/flutter/lib/src/painting/image_provider.dart +++ b/packages/flutter/lib/src/painting/image_provider.dart @@ -808,7 +808,7 @@ enum ResizeImagePolicy { /// If only one of `width` and `height` is non-null, then the output image /// will be scaled to the associated width or height, and the other dimension /// will take whatever value is needed to maintain the image's original aspect - /// ratio. These cases are simnilar to [BoxFit.fitWidth] and + /// ratio. These cases are similar to [BoxFit.fitWidth] and /// [BoxFit.fitHeight], respectively. /// /// If [ResizeImage.allowUpscaling] is false (the default), the width and the diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index 415db9a1b6b..e03f5fa407b 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -276,7 +276,7 @@ class _TextLayout { // color of the text is changed). // // The creator of this _TextLayout is also responsible for disposing this - // object when it's no logner needed. + // object when it's no longer needed. ui.Paragraph _paragraph; /// Whether this layout has been invalidated and disposed. diff --git a/packages/flutter/lib/src/rendering/paragraph.dart b/packages/flutter/lib/src/rendering/paragraph.dart index 46f5080848d..ee210285cbf 100644 --- a/packages/flutter/lib/src/rendering/paragraph.dart +++ b/packages/flutter/lib/src/rendering/paragraph.dart @@ -1063,19 +1063,19 @@ class RenderParagraph extends RenderBox with ContainerRenderObjectMixin measureText(InputDecoration decoration) async { diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index 62746b42abb..e3f7de6fcf8 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -7875,7 +7875,7 @@ void main() { semantics.dispose(); }); - testWidgets('TextField semantics alway include label and not hint when input value is not empty', (WidgetTester tester) async { + testWidgets('TextField semantics always include label and not hint when input value is not empty', (WidgetTester tester) async { final SemanticsTester semantics = SemanticsTester(tester); final TextEditingController controller = _textEditingController(text: 'value'); final Key key = UniqueKey(); diff --git a/packages/flutter/test/widgets/selectable_region_test.dart b/packages/flutter/test/widgets/selectable_region_test.dart index 24c0f596239..b0db7cefc79 100644 --- a/packages/flutter/test/widgets/selectable_region_test.dart +++ b/packages/flutter/test/widgets/selectable_region_test.dart @@ -1421,7 +1421,7 @@ void main() { ); testWidgets( - 'right-click mouse shows the context menu at position on Android, Fucshia, and Windows', + 'right-click mouse shows the context menu at position on Android, Fuchsia, and Windows', (WidgetTester tester) async { Set buttonTypes = {}; final UniqueKey toolbarKey = UniqueKey(); diff --git a/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart b/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart index 49d62b27623..169099a4740 100644 --- a/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart +++ b/packages/flutter/test/widgets/text_scaler_backward_compatibility_test.dart @@ -10,7 +10,7 @@ import 'package:flutter_test/flutter_test.dart'; void main() { group('TextStyle', () { - test('getTextSyle is backward compatible', () { + test('getTextStyle is backward compatible', () { expect( const TextStyle(fontSize: 14).getTextStyle(textScaleFactor: 2.0).toString(), contains('fontSize: 28'), diff --git a/packages/flutter_driver/test/src/real_tests/extension_test.dart b/packages/flutter_driver/test/src/real_tests/extension_test.dart index 111f521d558..5ea63965717 100644 --- a/packages/flutter_driver/test/src/real_tests/extension_test.dart +++ b/packages/flutter_driver/test/src/real_tests/extension_test.dart @@ -744,7 +744,7 @@ void main() { height: 25, ), SizedBox( - key: ValueKey('righttchild'), + key: ValueKey('rightchild'), width: 25, height: 25, ), @@ -774,7 +774,7 @@ void main() { await tester.pump(const Duration(seconds: 2)); expect(await result, null); - result = getAncestorTopLeft(of: 'leftchild', matching: 'righttchild'); + result = getAncestorTopLeft(of: 'leftchild', matching: 'rightchild'); await tester.pump(const Duration(seconds: 2)); expect(await result, null); }); diff --git a/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy b/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy index 51d8218b091..c9acd58596a 100644 --- a/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy +++ b/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy @@ -833,7 +833,7 @@ class FlutterPlugin implements Plugin { // Add a task that can be called on flutter projects that prints the Java version used in Gradle. // // Format of the output of this task can be used in debugging what version of Java Gradle is using. - // Not recomended for use in time sensitive commands like `flutter run` or `flutter build` as + // Not recommended for use in time sensitive commands like `flutter run` or `flutter build` as // Gradle is slower than we want. Particularly in light of https://github.com/flutter/flutter/issues/119196. private static void addTaskForJavaVersion(Project project) { // Warning: the name of this task is used by other code. Change with caution. @@ -1043,7 +1043,7 @@ class FlutterPlugin implements Plugin { * * The AGP team said that this issue is fixed in Gradle 7.0, which isn't released at the * time of adding this code. Once released, this can be removed. However, after updating to - * AGP/Gradle 7.2.0/7.5, removing this hack still causes build failures. Futher + * AGP/Gradle 7.2.0/7.5, removing this hack still causes build failures. Further * investigation necessary to remove this. * * Tested cases: diff --git a/packages/flutter_tools/lib/src/android/gradle_utils.dart b/packages/flutter_tools/lib/src/android/gradle_utils.dart index b3faa13c608..ebc177798c6 100644 --- a/packages/flutter_tools/lib/src/android/gradle_utils.dart +++ b/packages/flutter_tools/lib/src/android/gradle_utils.dart @@ -570,7 +570,7 @@ bool validateJavaAndGradle(Logger logger, /// Returns compatibility information for the valid range of Gradle versions for /// the specified Java version. /// -/// Returns null when the tooling has not documented the compatibile Gradle +/// Returns null when the tooling has not documented the compatible Gradle /// versions for the Java version (either the version is too old or too new). If /// this seems like a mistake, the caller may need to update the /// [_javaGradleCompatList] detailing Java/Gradle compatibility. diff --git a/packages/flutter_tools/lib/src/debug_adapters/flutter_base_adapter.dart b/packages/flutter_tools/lib/src/debug_adapters/flutter_base_adapter.dart index 2d47118adf5..fb11605ca0b 100644 --- a/packages/flutter_tools/lib/src/debug_adapters/flutter_base_adapter.dart +++ b/packages/flutter_tools/lib/src/debug_adapters/flutter_base_adapter.dart @@ -111,7 +111,7 @@ abstract class FlutterBaseDebugAdapter extends DartDebugAdapter --format json` run. /// The result contains useful information such as build errors and warnings. class XCResult { - /// Parse the `resultJson` and stores useful informations in the returned `XCResult`. + /// Parse the `resultJson` and stores useful information in the returned `XCResult`. factory XCResult({required Map resultJson, List issueDiscarders = const []}) { final List issues = []; diff --git a/packages/flutter_tools/lib/src/native_assets.dart b/packages/flutter_tools/lib/src/native_assets.dart index 506e9d7e1d1..97ad5415b17 100644 --- a/packages/flutter_tools/lib/src/native_assets.dart +++ b/packages/flutter_tools/lib/src/native_assets.dart @@ -322,7 +322,7 @@ Future dryRunNativeAssets({ required List flutterDevices, }) async { if (flutterDevices.length != 1) { - return dryRunNativeAssetsMultipeOSes( + return dryRunNativeAssetsMultipleOSes( projectUri: projectUri, fileSystem: fileSystem, targetPlatforms: flutterDevices.map((FlutterDevice d) => d.targetPlatform).nonNulls, @@ -412,7 +412,7 @@ Future dryRunNativeAssets({ /// Dry run the native builds for multiple OSes. /// /// Needed for `flutter run -d all`. -Future dryRunNativeAssetsMultipeOSes({ +Future dryRunNativeAssetsMultipleOSes({ required NativeAssetsBuildRunner buildRunner, required Uri projectUri, required FileSystem fileSystem, diff --git a/packages/flutter_tools/templates/plugin_ffi/android.tmpl/build.gradle.tmpl b/packages/flutter_tools/templates/plugin_ffi/android.tmpl/build.gradle.tmpl index 922b22a0778..eac9887b322 100644 --- a/packages/flutter_tools/templates/plugin_ffi/android.tmpl/build.gradle.tmpl +++ b/packages/flutter_tools/templates/plugin_ffi/android.tmpl/build.gradle.tmpl @@ -35,7 +35,7 @@ android { // Use the NDK version // declared in /android/app/build.gradle file of the Flutter project. - // Replace it with a version number if this plugin requires a specfic NDK version. + // Replace it with a version number if this plugin requires a specific NDK version. // (e.g. ndkVersion "23.1.7779620") ndkVersion android.ndkVersion diff --git a/packages/flutter_tools/test/general.shard/android/android_studio_test.dart b/packages/flutter_tools/test/general.shard/android/android_studio_test.dart index 2fca60b3de9..b703dbf0c03 100644 --- a/packages/flutter_tools/test/general.shard/android/android_studio_test.dart +++ b/packages/flutter_tools/test/general.shard/android/android_studio_test.dart @@ -1122,7 +1122,7 @@ void main() { fileSystem = MemoryFileSystem.test(style: FileSystemStyle.windows); }); - testUsingContext('choses the install with the latest version', () { + testUsingContext('chooses the install with the latest version', () { const List versions = [ '4.0', '2022.0', @@ -1167,7 +1167,7 @@ void main() { ProcessManager: () => FakeProcessManager.any(), }); - testUsingContext('choses install with lexicographically greatest directory if no installs have known versions', () { + testUsingContext('chooses install with lexicographically greatest directory if no installs have known versions', () { const List versions = [ 'Apple', 'Zucchini', @@ -1190,7 +1190,7 @@ void main() { ProcessManager: () => FakeProcessManager.any(), }); - testUsingContext('choses install with lexicographically greatest directory if all installs have the same version', () { + testUsingContext('chooses install with lexicographically greatest directory if all installs have the same version', () { fileSystem.file(r'C:\Users\Dash\AppData\Local\Google\AndroidStudioPreview4.0\.home') ..createSync(recursive: true) ..writeAsStringSync(r'C:\Program Files\AndroidStudioPreview4.0'); diff --git a/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart b/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart index b27f71d3a32..82893bb31b3 100644 --- a/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart +++ b/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart @@ -131,7 +131,7 @@ void main() { }); testWithoutContext( - 'injects the wrapper and the Gradle version is derivated from the AGP version', + 'injects the wrapper and the Gradle version is derived from the AGP version', () { const Map testCases = { // AGP version : Gradle version diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart index 657335fe192..a17ab8ce88f 100644 --- a/packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart +++ b/packages/flutter_tools/test/general.shard/build_system/targets/native_assets_test.dart @@ -97,7 +97,7 @@ void main() { for (final bool isNativeAssetsEnabled in [true, false]) { final String postFix = isNativeAssetsEnabled ? 'enabled' : 'disabled'; testUsingContext( - 'Successfull native_assets.yaml and native_assets.d creation with feature $postFix', + 'Successful native_assets.yaml and native_assets.d creation with feature $postFix', overrides: { FileSystem: () => fileSystem, ProcessManager: () => processManager, diff --git a/packages/flutter_tools/test/general.shard/dart_plugin_test.dart b/packages/flutter_tools/test/general.shard/dart_plugin_test.dart index 0ea8182e11f..419f407358c 100644 --- a/packages/flutter_tools/test/general.shard/dart_plugin_test.dart +++ b/packages/flutter_tools/test/general.shard/dart_plugin_test.dart @@ -430,7 +430,7 @@ void main() { ); }); - testWithoutContext('selects user selected implementation despites default implementation', () async { + testWithoutContext('selects user selected implementation despite default implementation', () async { final Set directDependencies = { 'user_selected_url_launcher_implementation', 'url_launcher', diff --git a/packages/flutter_tools/test/general.shard/device_test.dart b/packages/flutter_tools/test/general.shard/device_test.dart index 74af2923cb2..d3623591668 100644 --- a/packages/flutter_tools/test/general.shard/device_test.dart +++ b/packages/flutter_tools/test/general.shard/device_test.dart @@ -531,7 +531,7 @@ void main() { ]); }); - testUsingContext('Unconnencted devices filtered out by default', () async { + testUsingContext('Unconnected devices filtered out by default', () async { final List devices = [ unconnectedDevice, ]; diff --git a/packages/flutter_tools/test/general.shard/hot_test.dart b/packages/flutter_tools/test/general.shard/hot_test.dart index c357e144cd2..98088d69e86 100644 --- a/packages/flutter_tools/test/general.shard/hot_test.dart +++ b/packages/flutter_tools/test/general.shard/hot_test.dart @@ -683,7 +683,7 @@ void main() { ); final OperationResult result = await hotRunner.restart(fullRestart: true); expect(result.isOk, true); - // Hot restart does not require reruning anything for native assets. + // Hot restart does not require rerunning anything for native assets. // The previous native assets mapping should be used. expect(buildRunner.buildInvocations, 0); expect(buildRunner.dryRunInvocations, 0); diff --git a/packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart b/packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart index 8c37ba03891..9814d599a09 100644 --- a/packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart +++ b/packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart @@ -335,7 +335,7 @@ void main() { }); group('in release mode', () { - testUsingContext('suceeds when install and launch succeed', () async { + testUsingContext('succeeds when install and launch succeed', () async { final IOSDevice iosDevice = setUpIOSDevice( fileSystem: fileSystem, processManager: FakeProcessManager.any(), diff --git a/packages/flutter_tools/test/general.shard/linux/native_assets_test.dart b/packages/flutter_tools/test/general.shard/linux/native_assets_test.dart index 147d13d4f54..6c4798e5caf 100644 --- a/packages/flutter_tools/test/general.shard/linux/native_assets_test.dart +++ b/packages/flutter_tools/test/general.shard/linux/native_assets_test.dart @@ -108,7 +108,7 @@ void main() { testUsingContext('dry run for multiple OSes with no package config', overrides: { ProcessManager: () => FakeProcessManager.empty(), }, () async { - await dryRunNativeAssetsMultipeOSes( + await dryRunNativeAssetsMultipleOSes( projectUri: projectUri, fileSystem: fileSystem, targetPlatforms: [ diff --git a/packages/flutter_tools/test/general.shard/macos/native_assets_test.dart b/packages/flutter_tools/test/general.shard/macos/native_assets_test.dart index afade123bd9..d206680f6f7 100644 --- a/packages/flutter_tools/test/general.shard/macos/native_assets_test.dart +++ b/packages/flutter_tools/test/general.shard/macos/native_assets_test.dart @@ -89,7 +89,7 @@ void main() { testUsingContext('dry run for multiple OSes with no package config', overrides: { ProcessManager: () => FakeProcessManager.empty(), }, () async { - await dryRunNativeAssetsMultipeOSes( + await dryRunNativeAssetsMultipleOSes( projectUri: projectUri, fileSystem: fileSystem, targetPlatforms: [ diff --git a/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart b/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart index 79aa29a9201..0c3dad17014 100644 --- a/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart +++ b/packages/flutter_tools/test/general.shard/mdns_discovery_test.dart @@ -782,7 +782,7 @@ void main() { }); group('deviceNameMatchesTargetName', () { - testWithoutContext('compares case insensitive and without spaces, hypthens, .local', () { + testWithoutContext('compares case insensitive and without spaces, hyphens, .local', () { final MDnsVmServiceDiscovery portDiscovery = MDnsVmServiceDiscovery( mdnsClient: FakeMDnsClient( [], diff --git a/packages/flutter_tools/test/general.shard/windows/native_assets_test.dart b/packages/flutter_tools/test/general.shard/windows/native_assets_test.dart index 8d16fd83e4d..e0bde767a2b 100644 --- a/packages/flutter_tools/test/general.shard/windows/native_assets_test.dart +++ b/packages/flutter_tools/test/general.shard/windows/native_assets_test.dart @@ -89,7 +89,7 @@ void main() { testUsingContext('dry run for multiple OSes with no package config', overrides: { ProcessManager: () => FakeProcessManager.empty(), }, () async { - await dryRunNativeAssetsMultipeOSes( + await dryRunNativeAssetsMultipleOSes( projectUri: projectUri, fileSystem: fileSystem, targetPlatforms: [