| Index: client/testing/unittest/unittest.dart
|
| diff --git a/client/testing/unittest/unittest.dart b/client/testing/unittest/unittest.dart
|
| index 17de9e338d37ca216f8163f9a210dd31f3317107..cabb344c29e306bde892d7c69a2acc5d48c8d8aa 100644
|
| --- a/client/testing/unittest/unittest.dart
|
| +++ b/client/testing/unittest/unittest.dart
|
| @@ -27,7 +27,7 @@ void _onError(e) {
|
| final testCase = _tests[_currentTest];
|
| // TODO(vsm): figure out how to expose the stack trace here
|
| // Currently e.message works in dartium, but not in dartc.
|
| - testCase.recordError('(DOM callback has errors) Caught ${e}', '');
|
| + testCase.error('(DOM callback has errors) Caught ${e}', '');
|
| _state = _UNCAUGHT_ERROR;
|
| if (testCase.callbacks > 0) {
|
| _currentTest++;
|
| @@ -101,4 +101,4 @@ String _toHtml(TestCase test) {
|
| }
|
|
|
| return html;
|
| -}
|
| +}
|
|
|