Index: pkg/unittest/future_matchers.dart |
=================================================================== |
--- pkg/unittest/future_matchers.dart (revision 14114) |
+++ pkg/unittest/future_matchers.dart (working copy) |
@@ -41,7 +41,7 @@ |
reason = '$reason\nStack trace:\n$stackTrace'; |
} |
- expect(future.hasValue, isTrue, reason); |
+ expect(future.hasValue, isTrue, reason: reason); |
if (_matcher != null) expect(future.value, _matcher); |
})); |