Correct misspellings throughout the codebase (#79500)

This commit is contained in:
Chris Bracken
2021-04-01 10:04:03 -07:00
committed by GitHub
parent 25a557d49e
commit 3e7e06512c
35 changed files with 51 additions and 51 deletions

View File

@@ -110,7 +110,7 @@ void addAarTask(Project project, variant) {
// This method mimics the logic in AGP when `android.defaultPublishConfig` is set in `build.gradle`:
// https://android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/variant/VariantHelper.java
//
// Unfortunately, `android.defaultPublishConfig` cannot be overriden at this point since
// Unfortunately, `android.defaultPublishConfig` cannot be overridden at this point since
// AGP already run this code.
void overrideDefaultPublishConfig(Project project, variant) {
String variantName = variant.name.capitalize()

View File

@@ -84,7 +84,7 @@ abstract class DeferredComponentsValidator {
/// Returns true if there were any recommended changes that should
/// be applied.
///
/// Retuns false if no problems or recommendations were detected.
/// Returns false if no problems or recommendations were detected.
///
/// If no checks are run, then this will default to false and will remain so
/// until a failing check finishes running.

View File

@@ -768,7 +768,7 @@ final Converter<String, String> _defineDecoder = base64.decoder.fuse(utf8.decode
/// control character on windows command lines.
///
/// When decoding this string, it can be safely split on commas, since any
/// user provided commans will still be encoded.
/// user provided commands will still be encoded.
///
/// If the presence of the `/` character ends up being an issue, this can
/// be changed to use base32 instead.

View File

@@ -22,7 +22,7 @@ class DepfileService {
/// Given an [depfile] File, write the depfile contents.
///
/// If both [inputs] and [outputs] are empty, ensures the file does not
/// exist. This can be overriden with the [writeEmpty] parameter when
/// exist. This can be overridden with the [writeEmpty] parameter when
/// both static and runtime dependencies exist and it is not desired
/// to force a rerun due to no depfile.
void writeToFile(Depfile depfile, File output, {bool writeEmpty = false}) {

View File

@@ -8,7 +8,7 @@ import '../base/file_system.dart';
import '../base/utils.dart';
import '../convert.dart';
/// A psuedo-filesystem stored in memory.
/// A pseudo-filesystem stored in memory.
///
/// To support output to arbitrary multi-root file schemes, the frontend server
/// will output web sources, sourcemaps, and metadata to concatenated single files

View File

@@ -44,7 +44,7 @@ void main() {
});
});
test('configures implicit vs explict correctly', () => testbed.run(() {
test('configures implicit vs explicit correctly', () => testbed.run(() {
expect(const Source.pattern('{PROJECT_DIR}/foo').implicit, false);
expect(const Source.pattern('{PROJECT_DIR}/*foo').implicit, true);
}));

View File

@@ -20,7 +20,7 @@ void main() {
fileSystem.file('inputs/a.txt').createSync();
fileSystem.file('inputs/b.txt').createSync();
fileSystem.file('foo/c.txt').createSync(recursive: true);
// Sould not be copied.
// Should not be copied.
fileSystem.file('inputs/d.txt').createSync();
final Depfile depfile = unpackDesktopArtifacts(

View File

@@ -129,7 +129,7 @@ void main() {
expect(environment.outputDir.childDirectory('assets')
.childFile('AssetManifest.json').existsSync(), true);
// Update to arbitary resource file triggers rebuild.
// Update to arbitrary resource file triggers rebuild.
webResources.childFile('foo.txt').writeAsStringSync('B');
await const WebReleaseBundle().build(environment);

View File

@@ -1233,7 +1233,7 @@ void main() {
when<String>(emptyStdoutProcessResult.stderr as String).thenReturn('');
});
testUsingContext('does not throw on non-existant ssh config', () async {
testUsingContext('does not throw on non-existent ssh config', () async {
final FuchsiaDevice device = FuchsiaDevice('123');
expect(await device.sdkNameAndVersion, equals('Fuchsia'));
}, overrides: <Type, Generator>{

View File

@@ -534,7 +534,7 @@ void main() {
expect(gitTagVersion.frameworkVersionFor('abcd1234'), stableTag);
});
testUsingContext('determine favors stable tag over dev tag if both idenitfy HEAD', () {
testUsingContext('determine favors stable tag over dev tag if both identify HEAD', () {
const String stableTag = '1.2.3';
final FakeProcessManager fakeProcessManager = FakeProcessManager.list(
<FakeCommand>[

View File

@@ -259,7 +259,7 @@ void setMockEncodedAnyVisualStudioInstallation(
// Sets up the mock environment for a Windows 10 SDK query.
//
// registryPresent controls whether or not the registry key is found.
// filesPresent controles where or not there are any SDK folders at the location
// filesPresent controls where or not there are any SDK folders at the location
// returned by the registry query.
void setMockSdkRegResponse(
FileSystem fileSystem,