* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
Lioness100
2023-02-23 14:43:21 -05:00
committed by GitHub
parent 3681b27a47
commit 26b6c1bedd
175 changed files with 285 additions and 284 deletions

View File

@@ -876,7 +876,7 @@ void main() {
await tester.pumpWidget(const MaterialApp(home: _SemanticsTestWidget()));
// We look for a SingleChildScrollView since the view itself isn't
// important for accessiblity, so it won't show up in the traversal
// important for accessibility, so it won't show up in the traversal
expect(
() => tester.semantics.simulatedAccessibilityTraversal(start: find.byType(SingleChildScrollView)),
throwsA(isA<StateError>()),

View File

@@ -340,7 +340,7 @@ void main() {
// A (physical keyA, logical keyB) is released.
//
// Since this event is transmitted to HardwareKeyboard as-is, it will be rejected due to
// inconsistent logical key. This does not indicate behaviral difference,
// inconsistent logical key. This does not indicate behavioral difference,
// since KeyData is will never send malformed data sequence in real applications.
await _shouldThrow<AssertionError>(() =>
simulateKeyUpEvent(LogicalKeyboardKey.keyB, physicalKey: PhysicalKeyboardKey.keyA));

View File

@@ -147,7 +147,7 @@ void main() {
expect(timeDiffs.length, records.length);
for (final Duration diff in timeDiffs) {
// Allow some freedom of time delay in real world.
// TODO(pdblasi-google): The expected wiggle room should be -1, but occassional
// TODO(pdblasi-google): The expected wiggle room should be -1, but occasional
// results were reaching -6. This assert has been adjusted to reduce flakiness,
// but the root cause is still unknown. (https://github.com/flutter/flutter/issues/109638)
assert(diff.inMilliseconds > -7, 'timeDiffs were: $timeDiffs (offending time was ${diff.inMilliseconds}ms)');