Correct typos (#33322)

Corects a bnuch of typeos throuhgout teh Fluter codebsae.

Made use of the `misspell` tool:
https://github.com/client9/misspell
This commit is contained in:
Chris Bracken
2019-05-24 19:12:45 -07:00
committed by GitHub
parent 0f6e4e6190
commit 4d9923201b
34 changed files with 42 additions and 42 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -94,7 +94,7 @@ Future<int> 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');

View File

@@ -102,7 +102,7 @@ Future<Map<String, double>> _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) {

View File

@@ -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

View File

@@ -23,7 +23,7 @@ class LocaleInfo implements Comparable<LocaleInfo> {
});
/// 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.