| Index: pkg/unittest/lib/src/future_matchers.dart
|
| diff --git a/pkg/unittest/lib/src/future_matchers.dart b/pkg/unittest/lib/src/future_matchers.dart
|
| index 77ba8bfae7357a5ac2b2777d6ebaf569e2b6ad48..148add4fff8cb4d1602a21a6d163500adb4b4bbd 100644
|
| --- a/pkg/unittest/lib/src/future_matchers.dart
|
| +++ b/pkg/unittest/lib/src/future_matchers.dart
|
| @@ -45,7 +45,7 @@ class _Completes extends BaseMatcher {
|
| stackTrace = ' ${stackTrace.replaceAll('\n', '\n ')}';
|
| reason = '$reason\nStack trace:\n$stackTrace';
|
| }
|
| - done(() => expect(false, isTrue, reason: reason));
|
| + done(() => fail(reason));
|
| });
|
|
|
| return true;
|
|
|