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

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

Issue 1381033002: Add data-URI support class to dart:core (next to Uri). (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove VM assertion that appears to be incorrect. Created 5 years, 1 month 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
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index 55789fb35d56ef816d039ce7b5b2e9556005ff1e..1113174f7d1e42d9caf51dc92e5e9d093db60b0a 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -882,7 +882,7 @@ Note: currently only implemented for dart2js.''',
*/
_TestOptionSpecification _getSpecification(String name) {
for (var option in _options) {
- if (option.keys.any((key) => key == name)) {
+ if (option.keys.contains(name)) {
return option;
}
}

Powered by Google App Engine
This is Rietveld 408576698