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

Unified Diff: tools/testing/dart/main.dart

Issue 2914893003: Revert "Replace the configuration map with a typed object." (Closed)
Patch Set: Created 3 years, 7 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 | « tools/testing/dart/launch_browser.dart ('k') | tools/testing/dart/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/main.dart
diff --git a/tools/testing/dart/main.dart b/tools/testing/dart/main.dart
index 146bb75dc5a213e726e605022eca734c29706b59..ff2a0d1264180d49555116e52d204e360e1bbe6a 100644
--- a/tools/testing/dart/main.dart
+++ b/tools/testing/dart/main.dart
@@ -34,7 +34,7 @@ void main(List<String> arguments) {
// Parse the command line arguments to a configuration.
var parser = new OptionsParser();
var configurations = parser.parse(arguments);
- if (configurations.isEmpty) return;
+ if (configurations == null || configurations.isEmpty) return;
// Run all of the configured tests.
// TODO(26372): Ensure that all tasks complete and return a future from this
« no previous file with comments | « tools/testing/dart/launch_browser.dart ('k') | tools/testing/dart/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698