diff --git a/dev/bots/README.md b/dev/bots/README.md index f4959087f8..3be25c15aa 100644 --- a/dev/bots/README.md +++ b/dev/bots/README.md @@ -21,7 +21,7 @@ the app stores. It is configured by the [.cirrus.yml](/.cirrus.yml). We also have post-commit testing with actual devices, in what we call our [devicelab](../devicelab/README.md). -## LUCI (Layered Universal Continuous Intergration) +## LUCI (Layered Universal Continuous Integration) A [set of recipes](https://chromium.googlesource.com/chromium/tools/build.git/+/master/scripts/slave/recipes/flutter) are run on Windows, Linux, and Mac machines. The configuration for how many diff --git a/dev/bots/flutter_compact_formatter.dart b/dev/bots/flutter_compact_formatter.dart index 6433ab7270..13ccc18ebf 100644 --- a/dev/bots/flutter_compact_formatter.dart +++ b/dev/bots/flutter_compact_formatter.dart @@ -11,7 +11,7 @@ final Stopwatch _stopwatch = Stopwatch(); /// A wrapper around package:test's JSON reporter. /// -/// This class behaves similarly to the compact reporter, but supresses all +/// This class behaves similarly to the compact reporter, but suppresses all /// output except for progress until the end of testing. In other words, errors, /// [print] calls, and skipped test messages will not be printed during the run /// of the suite. diff --git a/dev/ci/docker_linux/Dockerfile b/dev/ci/docker_linux/Dockerfile index 44fd67a829..75f7ef6c7f 100644 --- a/dev/ci/docker_linux/Dockerfile +++ b/dev/ci/docker_linux/Dockerfile @@ -1,4 +1,4 @@ -# Flutter (https://flutter.dev) Developement Environment for Linux +# Flutter (https://flutter.dev) Development Environment for Linux # =============================================================== # # This environment passes all Linux Flutter Doctor checks and is sufficient diff --git a/dev/devicelab/bin/tasks/flutter_test_performance.dart b/dev/devicelab/bin/tasks/flutter_test_performance.dart index f84e071fc7..c9b27cdb03 100644 --- a/dev/devicelab/bin/tasks/flutter_test_performance.dart +++ b/dev/devicelab/bin/tasks/flutter_test_performance.dart @@ -94,7 +94,7 @@ Future runTest({bool coverage = false}) async { if (result != 0) throw Exception('flutter test failed with exit code $result'); if (badLines > 0) - throw Exception('flutter test renderered unexpected output ($badLines bad lines)'); + throw Exception('flutter test rendered unexpected output ($badLines bad lines)'); if (step != TestStep.testPassed) throw Exception('flutter test did not finish (only reached step $step)'); print('elapsed time: ${clock.elapsedMilliseconds}ms'); diff --git a/dev/devicelab/lib/tasks/microbenchmarks.dart b/dev/devicelab/lib/tasks/microbenchmarks.dart index e1128ef649..2a3153bde1 100644 --- a/dev/devicelab/lib/tasks/microbenchmarks.dart +++ b/dev/devicelab/lib/tasks/microbenchmarks.dart @@ -102,7 +102,7 @@ Future> _readJsonResults(Process process) { final String jsonOutput = jsonBuf.toString(); // If we end up here and have already parsed the results, it suggests that - // we have recieved output from another test because our `flutter run` + // we have received output from another test because our `flutter run` // process did not terminate correctly. // https://github.com/flutter/flutter/issues/19096#issuecomment-402756549 if (resultsHaveBeenParsed) { diff --git a/dev/snippets/config/templates/README.md b/dev/snippets/config/templates/README.md index 5ae2e9cdf7..aa862d94a0 100644 --- a/dev/snippets/config/templates/README.md +++ b/dev/snippets/config/templates/README.md @@ -69,7 +69,7 @@ follows: Identical to the `stateful_widget` template, except that the default code block is inserted as the `build` function in a StatelessWidget. There is no need to include the @override before the build - funciton (the template adds this for you). + function (the template adds this for you). - [`stateful_widget_material`](stateful_widget_material.tmpl) : Similar to `stateful_widget`, except that it imports the material library, and uses diff --git a/dev/tools/localization/localizations_utils.dart b/dev/tools/localization/localizations_utils.dart index 3fc4bc8bb1..5f0d8ceb94 100644 --- a/dev/tools/localization/localizations_utils.dart +++ b/dev/tools/localization/localizations_utils.dart @@ -23,7 +23,7 @@ class LocaleInfo implements Comparable { }); /// Simple parser. Expects the locale string to be in the form of 'language_script_COUNTRY' - /// where the langauge is 2 characters, script is 4 characters with the first uppercase, + /// where the language is 2 characters, script is 4 characters with the first uppercase, /// and country is 2-3 characters and all uppercase. /// /// 'language_COUNTRY' or 'language_script' are also valid. Missing fields will be null. diff --git a/examples/flutter_gallery/lib/demo/transformations/transformations_demo_gesture_transformable.dart b/examples/flutter_gallery/lib/demo/transformations/transformations_demo_gesture_transformable.dart index 5f8490cde6..c8bd21d1bc 100644 --- a/examples/flutter_gallery/lib/demo/transformations/transformations_demo_gesture_transformable.dart +++ b/examples/flutter_gallery/lib/demo/transformations/transformations_demo_gesture_transformable.dart @@ -433,7 +433,7 @@ class _GestureTransformableState extends State with Ticker if (gestureType == null) { // Decide which type of gesture this is by comparing the amount of scale // and rotation in the gesture, if any. Scale starts at 1 and rotation - // starts at 0. Translate will have 0 scale and 0 rotation becuase it uses + // starts at 0. Translate will have 0 scale and 0 rotation because it uses // only one finger. if ((details.scale - 1).abs() > details.rotation.abs()) { gestureType = _GestureType.scale; diff --git a/packages/flutter/lib/src/material/page_transitions_theme.dart b/packages/flutter/lib/src/material/page_transitions_theme.dart index 3f4ee28067..024a521a3a 100644 --- a/packages/flutter/lib/src/material/page_transitions_theme.dart +++ b/packages/flutter/lib/src/material/page_transitions_theme.dart @@ -320,7 +320,7 @@ class PageTransitionsTheme extends Diagnosticable { return matchingBuilder.buildTransitions(route, context, animation, secondaryAnimation, child); } - // Just used to the buidlers Map to a list with one PageTransitionsBuilder per platform + // Just used to the builders Map to a list with one PageTransitionsBuilder per platform // for the operator == overload. List _all(Map builders) { return TargetPlatform.values.map((TargetPlatform platform) => builders[platform]).toList(); diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index bab9d10057..b4f20cb15a 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -629,7 +629,7 @@ class TextPainter { // Holds the TextPosition and caretPrototype the last caret metrics were // computed with. When new values are passed in, we recompute the caret metrics. - // only as nessecary. + // only as necessary. TextPosition _previousCaretPosition; Rect _previousCaretPrototype; diff --git a/packages/flutter/lib/src/services/raw_keyboard_linux.dart b/packages/flutter/lib/src/services/raw_keyboard_linux.dart index f1350a25a1..3f4ea2cc75 100644 --- a/packages/flutter/lib/src/services/raw_keyboard_linux.dart +++ b/packages/flutter/lib/src/services/raw_keyboard_linux.dart @@ -232,7 +232,7 @@ class GLFWKeyHelper with KeyHelper { case ModifierKey.shiftModifier: case ModifierKey.altModifier: case ModifierKey.metaModifier: - // Neither GLFW or X11 provide a distiction between left and right modifiers, so defaults to KeyboardSide.any. + // Neither GLFW or X11 provide a distinction between left and right modifiers, so defaults to KeyboardSide.any. // https://code.woboq.org/qt5/include/X11/X.h.html#_M/ShiftMask return KeyboardSide.any; case ModifierKey.capsLockModifier: diff --git a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart index 78395a5f9a..633e1beb64 100644 --- a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart +++ b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart @@ -47,7 +47,7 @@ typedef ScrollableWidgetBuilder = Widget Function( /// [ScrollableWidgetBuilder] does not use provided [ScrollController], the /// sheet will remain at the initialChildSize. /// -/// By default, the widget will expand its non-occupied area to fill availble +/// By default, the widget will expand its non-occupied area to fill available /// space in the parent. If this is not desired, e.g. because the parent wants /// to position sheet based on the space it is taking, the [expand] property /// may be set to false. @@ -157,7 +157,7 @@ class DraggableScrollableSheet extends StatefulWidget { /// [DraggableScrollableSheet] widgets notify their ancestors when the size of /// the sheet changes. When the extent of the sheet changes via a drag, /// this notification bubbles up through the tree, which means a given -/// [NotificationListener] will recieve notifications for all descendant +/// [NotificationListener] will receive notifications for all descendant /// [DraggableScrollableSheet] widgets. To focus on notifications from the /// nearest [DraggableScorllableSheet] descendant, check that the [depth] /// property of the notification is zero. diff --git a/packages/flutter/lib/src/widgets/platform_view.dart b/packages/flutter/lib/src/widgets/platform_view.dart index 94f77505c7..ad92a27a73 100644 --- a/packages/flutter/lib/src/widgets/platform_view.dart +++ b/packages/flutter/lib/src/widgets/platform_view.dart @@ -217,7 +217,7 @@ class UiKitView extends StatefulWidget { assert(creationParams == null || creationParamsCodec != null), super(key: key); - // TODO(amirh): reference the iOS API doc once avaliable. + // TODO(amirh): reference the iOS API doc once available. /// The unique identifier for iOS view type to be embedded by this widget. /// /// A PlatformViewFactory for this type must have been registered. diff --git a/packages/flutter/lib/src/widgets/widget_inspector.dart b/packages/flutter/lib/src/widgets/widget_inspector.dart index 032d993965..ab178a03c1 100644 --- a/packages/flutter/lib/src/widgets/widget_inspector.dart +++ b/packages/flutter/lib/src/widgets/widget_inspector.dart @@ -1701,7 +1701,7 @@ mixin WidgetInspectorService { return true; } if (value is! Element || !isWidgetCreationTracked()) { - // Creation locations are not availabe so include all nodes in the + // Creation locations are not available so include all nodes in the // summary tree. return true; } diff --git a/packages/flutter/test/cupertino/date_picker_test.dart b/packages/flutter/test/cupertino/date_picker_test.dart index 83a9f63751..512e871d78 100644 --- a/packages/flutter/test/cupertino/date_picker_test.dart +++ b/packages/flutter/test/cupertino/date_picker_test.dart @@ -285,7 +285,7 @@ void main() { ); // Drag the minute picker to the next slot (03 -> 06). - // The `initialDateTime` and the `minuteInterval` values are specifically choosen + // The `initialDateTime` and the `minuteInterval` values are specifically chosen // so that `find.text` finds exactly one widget. await tester.drag(find.text('03'), _kRowOffset); await tester.pump(); diff --git a/packages/flutter/test/gestures/double_tap_test.dart b/packages/flutter/test/gestures/double_tap_test.dart index 79802bd844..dca6162c8e 100644 --- a/packages/flutter/test/gestures/double_tap_test.dart +++ b/packages/flutter/test/gestures/double_tap_test.dart @@ -740,7 +740,7 @@ void main() { doubleTap.dispose(); }); - testGesture('A primary double tap recognizer does not form competion with a secondary tap recognizer', (GestureTester tester) { + testGesture('A primary double tap recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) { doubleTap.addPointer(down6); tapSecondary.addPointer(down6); tester.closeArena(down6.pointer); @@ -749,7 +749,7 @@ void main() { expect(recognized, ['tapSecondary']); }); - testGesture('A primary double tap recognizer forms competion with a primary tap recognizer', (GestureTester tester) { + testGesture('A primary double tap recognizer forms competition with a primary tap recognizer', (GestureTester tester) { doubleTap.addPointer(down1); tapPrimary.addPointer(down1); tester.closeArena(down1.pointer); diff --git a/packages/flutter/test/gestures/drag_test.dart b/packages/flutter/test/gestures/drag_test.dart index 293f86d2b4..35a8197171 100644 --- a/packages/flutter/test/gestures/drag_test.dart +++ b/packages/flutter/test/gestures/drag_test.dart @@ -767,7 +767,7 @@ void main() { pan.dispose(); }); - testGesture('A primary pan recognizer does not form competion with a secondary tap recognizer', (GestureTester tester) { + testGesture('A primary pan recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) { final TestPointer pointer = TestPointer( 1, PointerDeviceKind.touch, @@ -783,7 +783,7 @@ void main() { expect(recognized, ['tapSecondary']); }); - testGesture('A primary pan recognizer forms competion with a primary tap recognizer', (GestureTester tester) { + testGesture('A primary pan recognizer forms competition with a primary tap recognizer', (GestureTester tester) { final TestPointer pointer = TestPointer( 1, PointerDeviceKind.touch, @@ -805,7 +805,7 @@ void main() { testGesture('A secondary drag should not trigger primary', (GestureTester tester) { final List recognized = []; final TapGestureRecognizer tap = TapGestureRecognizer() - ..onTap = () {}; // Need a listener to enable competetion. + ..onTap = () {}; // Need a listener to enable competition. final PanGestureRecognizer pan = PanGestureRecognizer() ..onDown = (DragDownDetails details) { recognized.add('primaryDown'); diff --git a/packages/flutter/test/gestures/long_press_test.dart b/packages/flutter/test/gestures/long_press_test.dart index 7588ecd64e..746ba6b304 100644 --- a/packages/flutter/test/gestures/long_press_test.dart +++ b/packages/flutter/test/gestures/long_press_test.dart @@ -520,7 +520,7 @@ void main() { longPress.dispose(); }); - testGesture('A primary long press recognizer does not form competion with a secondary tap recognizer', (GestureTester tester) { + testGesture('A primary long press recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) { longPress.addPointer(down3); tapSecondary.addPointer(down3); tester.closeArena(down3.pointer); @@ -529,7 +529,7 @@ void main() { expect(recognized, ['tapSecondary']); }); - testGesture('A primary long press recognizer forms competion with a primary tap recognizer', (GestureTester tester) { + testGesture('A primary long press recognizer forms competition with a primary tap recognizer', (GestureTester tester) { longPress.addPointer(down); tapPrimary.addPointer(down); tester.closeArena(down.pointer); diff --git a/packages/flutter/test/gestures/tap_test.dart b/packages/flutter/test/gestures/tap_test.dart index 6bbef3d7e1..2d377d6506 100644 --- a/packages/flutter/test/gestures/tap_test.dart +++ b/packages/flutter/test/gestures/tap_test.dart @@ -681,7 +681,7 @@ void main() { secondary.dispose(); }); - testGesture('A primary tap recognizer does not form competion with a secondary tap recognizer', (GestureTester tester) { + testGesture('A primary tap recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) { primary.addPointer(down1); secondary.addPointer(down1); tester.closeArena(1); @@ -694,7 +694,7 @@ void main() { expect(recognized, ['primaryUp']); }); - testGesture('A primary tap recognizer forms competion with another primary tap recognizer', (GestureTester tester) { + testGesture('A primary tap recognizer forms competition with another primary tap recognizer', (GestureTester tester) { primary.addPointer(down1); primary2.addPointer(down1); tester.closeArena(1); diff --git a/packages/flutter/test/material/bottom_navigation_bar_test.dart b/packages/flutter/test/material/bottom_navigation_bar_test.dart index 1f256cd68d..85664f890b 100644 --- a/packages/flutter/test/material/bottom_navigation_bar_test.dart +++ b/packages/flutter/test/material/bottom_navigation_bar_test.dart @@ -571,7 +571,7 @@ void main() { expect(_getMaterial(tester).color, equals(color)); }); - testWidgets('Shifting BottomNavigationBar background color is overriden by item color', (WidgetTester tester) async { + testWidgets('Shifting BottomNavigationBar background color is overridden by item color', (WidgetTester tester) async { const Color itemColor = Colors.yellow; const Color backgroundColor = Colors.blue; diff --git a/packages/flutter/test/material/scaffold_test.dart b/packages/flutter/test/material/scaffold_test.dart index d86463d1e2..969a469b46 100644 --- a/packages/flutter/test/material/scaffold_test.dart +++ b/packages/flutter/test/material/scaffold_test.dart @@ -66,7 +66,7 @@ void main() { bodyBox = tester.renderObject(find.byKey(bodyKey)); expect(bodyBox.size, equals(const Size(800.0, 544.0))); - // Backwards compatiblity: deprecated resizeToAvoidBottomPadding flag + // Backwards compatibility: deprecated resizeToAvoidBottomPadding flag await tester.pumpWidget(boilerplate(MediaQuery( data: const MediaQueryData(viewInsets: EdgeInsets.only(bottom: 100.0)), child: Scaffold( diff --git a/packages/flutter_goldens_client/lib/client.dart b/packages/flutter_goldens_client/lib/client.dart index 6c290ed793..3f6952f3a5 100644 --- a/packages/flutter_goldens_client/lib/client.dart +++ b/packages/flutter_goldens_client/lib/client.dart @@ -183,7 +183,7 @@ class NonZeroExitCode implements Exception { /// The code that the process will signal to the operating system. /// - /// By definiton, this is not zero. + /// By definition, this is not zero. final int exitCode; /// The message to show on standard error. diff --git a/packages/flutter_test/lib/src/test_pointer.dart b/packages/flutter_test/lib/src/test_pointer.dart index 5aa1715164..609c6bc70b 100644 --- a/packages/flutter_test/lib/src/test_pointer.dart +++ b/packages/flutter_test/lib/src/test_pointer.dart @@ -403,7 +403,7 @@ class TestGesture { return TestAsyncUtils.guard(() { if (_pointer._isDown) { assert(_result != null, - 'Move events with the pointer down must be preceeded by a down ' + 'Move events with the pointer down must be preceded by a down ' 'event that captures a hit test result.'); return _dispatcher(_pointer.move(location, timeStamp: timeStamp), _result); } else { diff --git a/packages/flutter_tools/bin/xcode_backend.sh b/packages/flutter_tools/bin/xcode_backend.sh index b3d553b1f6..b8f900f318 100755 --- a/packages/flutter_tools/bin/xcode_backend.sh +++ b/packages/flutter_tools/bin/xcode_backend.sh @@ -72,7 +72,7 @@ BuildApp() { EchoError "========================================================================" EchoError "ERROR: Unknown FLUTTER_BUILD_MODE: ${build_mode}." EchoError "Valid values are 'Debug', 'Profile', or 'Release' (case insensitive)." - EchoError "This is controlled by the FLUTTER_BUILD_MODE environment varaible." + EchoError "This is controlled by the FLUTTER_BUILD_MODE environment variable." EchoError "If that is not set, the CONFIGURATION environment variable is used." EchoError "" EchoError "You can fix this by either adding an appropriately named build" diff --git a/packages/flutter_tools/lib/src/base/logger.dart b/packages/flutter_tools/lib/src/base/logger.dart index e9e508b876..21bb6c0657 100644 --- a/packages/flutter_tools/lib/src/base/logger.dart +++ b/packages/flutter_tools/lib/src/base/logger.dart @@ -131,7 +131,7 @@ abstract class Logger { /// The `timeout` argument sets a duration after which an additional message /// may be shown saying that the operation is taking a long time. (Not all /// [Status] subclasses show such a message.) Set this to null if the - /// operation can legitimately take an abritrary amount of time (e.g. waiting + /// operation can legitimately take an arbitrary amount of time (e.g. waiting /// for the user). /// /// The `progressId` argument provides an ID that can be used to identify diff --git a/packages/flutter_tools/lib/src/codegen.dart b/packages/flutter_tools/lib/src/codegen.dart index 68606f319f..fefe810da1 100644 --- a/packages/flutter_tools/lib/src/codegen.dart +++ b/packages/flutter_tools/lib/src/codegen.dart @@ -13,7 +13,7 @@ import 'dart/package_map.dart'; import 'globals.dart'; import 'project.dart'; -// Arbitrarily choosen multi-root file scheme. This is used to configure the +// Arbitrarily chosen multi-root file scheme. This is used to configure the // frontend_server to resolve a package uri to multiple filesystem directories. // In this case, the source directory and a generated directory. const String kMultiRootScheme = 'org-dartlang-app'; diff --git a/packages/flutter_tools/lib/src/commands/upgrade.dart b/packages/flutter_tools/lib/src/commands/upgrade.dart index 896164d17e..583a701dc8 100644 --- a/packages/flutter_tools/lib/src/commands/upgrade.dart +++ b/packages/flutter_tools/lib/src/commands/upgrade.dart @@ -72,7 +72,7 @@ class UpgradeCommandRunner { ); } } - // If there are uncomitted changes we might be on the right commit but + // If there are uncommitted changes we might be on the right commit but // we should still warn. if (!force && await hasUncomittedChanges()) { throwToolExit( diff --git a/packages/flutter_tools/lib/src/compile.dart b/packages/flutter_tools/lib/src/compile.dart index 4768aae656..cf25dce41e 100644 --- a/packages/flutter_tools/lib/src/compile.dart +++ b/packages/flutter_tools/lib/src/compile.dart @@ -38,7 +38,7 @@ class KernelCompilerFactory { typedef CompilerMessageConsumer = void Function(String message, { bool emphasis, TerminalColor color }); -/// The target model describes the set of core libraries that are availible within +/// The target model describes the set of core libraries that are available within /// the SDK. class TargetModel { /// Parse a [TargetModel] from a raw string. @@ -734,7 +734,7 @@ class ResidentCompiler { } Future shutdown() async { - // Server was never sucessfully created. + // Server was never successfully created. if (_server == null) { return 0; } diff --git a/packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart b/packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart index eb612e583b..ab38a62f13 100644 --- a/packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart +++ b/packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart @@ -190,7 +190,7 @@ class FuchsiaPackageServer { /// Usees [FuchiaPM.newrepo] and [FuchsiaPM.serve] to spin up a new Fuchsia /// package server. /// - /// Returns false if ther repo could not be created or the server could not + /// Returns false if the repo could not be created or the server could not /// be spawned, and true otherwise. Future start() async { if (_process != null) { diff --git a/packages/flutter_tools/lib/src/fuchsia/tiles_ctl.dart b/packages/flutter_tools/lib/src/fuchsia/tiles_ctl.dart index f108863463..59ed24a3b7 100644 --- a/packages/flutter_tools/lib/src/fuchsia/tiles_ctl.dart +++ b/packages/flutter_tools/lib/src/fuchsia/tiles_ctl.dart @@ -84,7 +84,7 @@ class FuchsiaTilesCtl { /// Instructs tiles on the device to begin running the app at [url] in a new /// tile. /// - /// The app is passed the arguemnts in [args]. Flutter apps receive these + /// The app is passed the arguments in [args]. Flutter apps receive these /// arguments as arguments to `main()`. [url] should be formatted as a /// Fuchsia-style package url, e.g.: /// fuchsia-pkg://fuchsia.com/flutter_gallery#meta/flutter_gallery.cmx diff --git a/packages/flutter_tools/lib/src/project.dart b/packages/flutter_tools/lib/src/project.dart index 42ea0bbc81..0fe0ca34d5 100644 --- a/packages/flutter_tools/lib/src/project.dart +++ b/packages/flutter_tools/lib/src/project.dart @@ -591,7 +591,7 @@ class MacOSProject { /// The file where the Xcode build will write the name of the built app. /// - /// Ideally this will be replaced in the future with inpection of the Runner + /// Ideally this will be replaced in the future with inspection of the Runner /// scheme's target. File get nameFile => _cacheDirectory.childFile('.app_filename'); } diff --git a/packages/flutter_tools/test/commands/daemon_test.dart b/packages/flutter_tools/test/commands/daemon_test.dart index 64d348fc53..0089d7a458 100644 --- a/packages/flutter_tools/test/commands/daemon_test.dart +++ b/packages/flutter_tools/test/commands/daemon_test.dart @@ -195,7 +195,7 @@ void main() { await commands.close(); }); - testUsingContext('device.getDevices reports avaiable devices', () async { + testUsingContext('device.getDevices reports available devices', () async { final StreamController> commands = StreamController>(); final StreamController> responses = StreamController>(); daemon = Daemon( diff --git a/packages/flutter_tools/test/commands/doctor_test.dart b/packages/flutter_tools/test/commands/doctor_test.dart index 3fe74bb267..45af935c6b 100644 --- a/packages/flutter_tools/test/commands/doctor_test.dart +++ b/packages/flutter_tools/test/commands/doctor_test.dart @@ -190,7 +190,7 @@ void main() { }); }); - group('doctor with overriden validators', () { + group('doctor with overridden validators', () { testUsingContext('validate non-verbose output format for run without issues', () async { expect(await doctor.diagnose(verbose: false), isTrue); expect(testLogger.statusText, equals( diff --git a/packages/flutter_tools/test/commands/upgrade_test.dart b/packages/flutter_tools/test/commands/upgrade_test.dart index 00e38a7f19..4c3fc8e491 100644 --- a/packages/flutter_tools/test/commands/upgrade_test.dart +++ b/packages/flutter_tools/test/commands/upgrade_test.dart @@ -50,7 +50,7 @@ void main() { expect(await result, null); }); - test('throws tool exit with uncommited changes', () async { + test('throws tool exit with uncommitted changes', () async { fakeCommandRunner.willHaveUncomittedChanges = true; final Future result = fakeCommandRunner.runCommand( false, @@ -60,7 +60,7 @@ void main() { expect(result, throwsA(isA())); }); - test('does not throw tool exit with uncommited changes and force', () async { + test('does not throw tool exit with uncommitted changes and force', () async { fakeCommandRunner.willHaveUncomittedChanges = true; final Future result = fakeCommandRunner.runCommand( true,