Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: pkg/testing/lib/src/run_tests.dart

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/kernel/lib/transformations/treeshaker.dart ('k') | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/run_tests.dart
diff --git a/pkg/testing/lib/src/run_tests.dart b/pkg/testing/lib/src/run_tests.dart
index 9d8ade3227679262ce61182eedde5366971ae2f0..165dbcd070ec45d1643e9b5cd5e2ff6bcc88720d 100644
--- a/pkg/testing/lib/src/run_tests.dart
+++ b/pkg/testing/lib/src/run_tests.dart
@@ -87,24 +87,24 @@ class CommandLine {
if (!await new File(configurationPath).exists()) {
Directory test = new Directory("test");
if (await test.exists()) {
- List<FileSystemEntity> candiates = await test
+ List<FileSystemEntity> candidates = await test
.list(recursive: true, followLinks: false)
.where((FileSystemEntity entity) {
return entity is File && entity.uri.path.endsWith("/testing.json");
}).toList();
- switch (candiates.length) {
+ switch (candidates.length) {
case 0:
return fail("Couldn't locate: '$configurationPath'.");
case 1:
- configurationPath = candiates.single.path;
+ configurationPath = candidates.single.path;
break;
default:
return fail(
"Usage: run_tests.dart [$configPrefix=configuration_file]\n"
"Where configuration_file is one of:\n "
- "${candiates.map((file) => file.path).join('\n ')}");
+ "${candidates.map((file) => file.path).join('\n ')}");
}
}
}
« no previous file with comments | « pkg/kernel/lib/transformations/treeshaker.dart ('k') | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698