Chromium Code Reviews| Index: tools/testing/dart/vendored_pkg/args/args.dart |
| diff --git a/tools/testing/dart/vendored_pkg/args/args.dart b/tools/testing/dart/vendored_pkg/args/args.dart |
| index 32793ddfc45be591c3383322dfcbbf1f2230ba39..29da1e262b840885b6d87c41474eec6aa6f0d418 100644 |
| --- a/tools/testing/dart/vendored_pkg/args/args.dart |
| +++ b/tools/testing/dart/vendored_pkg/args/args.dart |
| @@ -331,7 +331,7 @@ class ArgParser { |
| * that abbreviation. |
| */ |
| Option findByAbbreviation(String abbr) { |
| - return options.values.firstWhere((option) => option.abbreviation == abbr, |
| + return options.values.firstMatching((option) => option.abbreviation == abbr, |
|
blois
2013/03/14 16:24:10
Shouldn't be checked in.
Andrei Mouravski
2013/03/15 00:08:52
Done.
|
| orElse: () => null); |
| } |
| } |