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.');