Fixed large amount of spelling errors (#83744)

This commit is contained in:
Anis Alibegić
2021-06-02 19:14:06 +02:00
committed by GitHub
parent 9a243a1213
commit c99ed373b3
124 changed files with 223 additions and 220 deletions

View File

@@ -83,9 +83,9 @@ class WaitForAbsent extends CommandWithTarget {
/// A Flutter Driver command that waits until [finder] can be tapped.
class WaitForTappable extends CommandWithTarget {
/// Creates a command that waits for the widget identified by [finder] to
/// be tappable within the [timeout] amiount of time.
/// be tappable within the [timeout] amount of time.
///
/// If [timeout] is not specified, the command defuts to no timeout.
/// If [timeout] is not specified, the command defaults to no timeout.
WaitForTappable(SerializableFinder finder, {Duration? timeout})
: super(finder, timeout: timeout);

View File

@@ -101,7 +101,7 @@ class VMServiceFlutterDriver extends FlutterDriver {
future: _waitForRootIsolate(),
timeout: kUnusuallyLongTimeout,
message: isolateNumber == null
? 'The root isolate is taking an unuusally long time to start.'
? 'The root isolate is taking an unusually long time to start.'
: 'Isolate $isolateNumber is taking an unusually long time to start.',
))!;
_log('Isolate found with number: ${isolateRef.number}');

View File

@@ -258,7 +258,7 @@ void main() {
});
testWidgets(
"waiting for NoPendingPlatformMessages returns immediately when there're no platform messages", (WidgetTester tester) async {
'waiting for NoPendingPlatformMessages returns immediately when there are no platform messages', (WidgetTester tester) async {
driverExtension
.call(const WaitForCondition(NoPendingPlatformMessages()).serialize())
.then<void>(expectAsync1((Map<String, dynamic> r) {

View File

@@ -154,7 +154,7 @@ void main() {
});
expect(log, <String>[
'VMServiceFlutterDriver: Connecting to Flutter application at ',
'VMServiceFlutterDriver: The root isolate is taking an unuusally long time to start.',
'VMServiceFlutterDriver: The root isolate is taking an unusually long time to start.',
]);
});