| Index: lib/test.dart
|
| diff --git a/lib/test.dart b/lib/test.dart
|
| index 964a59a25bc238b5cdff7112052ed591e584d9f7..394161281607e0fc0f46ef58abb083762b03b88e 100644
|
| --- a/lib/test.dart
|
| +++ b/lib/test.dart
|
| @@ -172,12 +172,6 @@ void setUp(callback()) => _declarer.setUp(callback);
|
| /// groups or at the top level.
|
| void tearDown(callback()) => _declarer.tearDown(callback);
|
|
|
| -/// Handle an error that occurs outside of any test.
|
| -void handleExternalError(error, String message, [stackTrace]) {
|
| - // TODO(nweiz): handle this better.
|
| - registerException(error, stackTrace);
|
| -}
|
| -
|
| /// Registers an exception that was caught for the current test.
|
| void registerException(error, [StackTrace stackTrace]) =>
|
| Invoker.current.handleError(error, stackTrace);
|
|
|