Index: pkg/unittest/core_matchers.dart |
=================================================================== |
--- pkg/unittest/core_matchers.dart (revision 13683) |
+++ pkg/unittest/core_matchers.dart (working copy) |
@@ -610,7 +610,7 @@ |
* Returns a matcher that uses an arbitrary function that returns |
* true or false for the actual value. |
*/ |
-Matcher predicate(f, [description = 'satisfies function']) => |
+Matcher predicate(f, {description: 'satisfies function'}) => |
new _Predicate(f, description); |
class _Predicate extends BaseMatcher { |