Fix typos (#82589)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user