| Index: third_party/pkg/angular/lib/mock/exception_handler.dart
|
| ===================================================================
|
| --- third_party/pkg/angular/lib/mock/exception_handler.dart (revision 33054)
|
| +++ third_party/pkg/angular/lib/mock/exception_handler.dart (working copy)
|
| @@ -24,7 +24,7 @@
|
| /**
|
| * All exceptions are stored here for later examining.
|
| */
|
| - final errors = <ExceptionWithStack>[];
|
| + final List<ExceptionWithStack> errors = [];
|
|
|
| call(error, stack, [reason]) {
|
| errors.add(new ExceptionWithStack(error, stack));
|
| @@ -36,7 +36,7 @@
|
| * to verify that all exceptions have been processed.
|
| */
|
| assertEmpty() {
|
| - if (errors.isNotEmpty) {
|
| + if (errors.length > 0) {
|
| throw new ArgumentError('Exception Logger not empty:\n$errors');
|
| }
|
| }
|
|
|