| Index: pkg/unittest/lib/src/test_case.dart
|
| diff --git a/pkg/unittest/lib/src/test_case.dart b/pkg/unittest/lib/src/test_case.dart
|
| index 7eb835f735076af8f28f34c8420b26bfee9f7b84..f8eb233530ddb98ad409d0c9db82ed12c344c48c 100644
|
| --- a/pkg/unittest/lib/src/test_case.dart
|
| +++ b/pkg/unittest/lib/src/test_case.dart
|
| @@ -82,9 +82,8 @@ class TestCase {
|
| var f = testFunction();
|
| --_callbackFunctionsOutstanding;
|
| if (f is Future) {
|
| - f.then((_) => _finishTest())
|
| + return f.then((_) => _finishTest())
|
| .catchError((e) => fail("${e.error}"));
|
| - return f;
|
| } else {
|
| _finishTest();
|
| return null;
|
|
|