This commit is contained in:
nt4f04uNd
2021-05-21 03:19:09 +03:00
committed by GitHub
parent 660ec207e6
commit 80a2b6b015
44 changed files with 55 additions and 55 deletions

View File

@@ -120,7 +120,7 @@ class AndroidValidator extends DoctorValidator {
/// `java -version` response is not only a number, but also includes other
/// information eg. `openjdk version "1.7.0_212"`.
/// This method extracts only the semantic version from from that response.
/// This method extracts only the semantic version from that response.
static String? _extractJavaVersion(String? text) {
if (text == null || text.isEmpty) {
return null;

View File

@@ -254,7 +254,7 @@ class TestCommand extends FlutterCommand with DeviceBasedDevelopmentArtifacts {
_testFiles = argResults.rest.map<String>(globals.fs.path.absolute).toList();
if (_testFiles.isEmpty) {
// We don't scan the entire package, only the test/ subdirectory, so that
// files with names like like "hit_test.dart" don't get run.
// files with names like "hit_test.dart" don't get run.
final Directory testDir = globals.fs.directory('test');
if (!testDir.existsSync()) {
throwToolExit('Test directory "${testDir.path}" not found.');

View File

@@ -23,7 +23,7 @@ import '../src/common.dart';
import '../src/context.dart';
void main() {
testUsingContext('Exits with code 2 when when HttpException is thrown '
testUsingContext('Exits with code 2 when HttpException is thrown '
'during VM service connection', () async {
final FakeResidentCompiler residentCompiler = FakeResidentCompiler();
final FakeDevice device = FakeDevice()

View File

@@ -186,7 +186,7 @@ void main() {
device = createDevice(enableObservatory: true);
});
testUsingContext('skips setting observatory port and uses the input port for for DDS instead', () async {
testUsingContext('skips setting observatory port and uses the input port for DDS instead', () async {
await device.start('example.dill');
await device.observatoryUri;

View File

@@ -237,7 +237,7 @@ void main() {
fileSystem = MemoryFileSystem.test();
});
testUsingContext('Exits with code 2 when when HttpException is thrown '
testUsingContext('Exits with code 2 when HttpException is thrown '
'during VM service connection', () async {
fileSystem.file('.packages')
..createSync(recursive: true)

View File

@@ -985,7 +985,7 @@ void main() {
expect(response.statusCode, 404);
}));
test('WebAssetServer strips leading base href off off asset requests', () => testbed.run(() async {
test('WebAssetServer strips leading base href off of asset requests', () => testbed.run(() async {
const String htmlContent = '<html><head><base href="/foo/"></head><body id="test"></body></html>';
globals.fs.currentDirectory
.childDirectory('web')