| Index: pkg/unittest/lib/src/config.dart
|
| diff --git a/pkg/unittest/lib/src/config.dart b/pkg/unittest/lib/src/config.dart
|
| index 85398ae497af9ac5b4c091b1913f746464393ebc..7a39743919f0810c2958765482f8d0118cff9139 100644
|
| --- a/pkg/unittest/lib/src/config.dart
|
| +++ b/pkg/unittest/lib/src/config.dart
|
| @@ -129,11 +129,11 @@ class Configuration {
|
| print('$passed PASSED, $failed FAILED, $errors ERRORS');
|
| }
|
|
|
| - _receivePort.close();
|
| if (success) {
|
| _postMessage('unittest-suite-success');
|
| _receivePort.close();
|
| } else {
|
| + _receivePort.close();
|
| throw new Exception('Some tests failed.');
|
| }
|
| }
|
|
|