| Index: tests/standalone/out_of_memory_test.dart
|
| diff --git a/tests/standalone/out_of_memory_test.dart b/tests/standalone/out_of_memory_test.dart
|
| index 1fb36f9b6990ca06f4c8d2b19280c5d59857465e..5b6d0aaf6a7b314033cb740f850f00033d5ff080 100644
|
| --- a/tests/standalone/out_of_memory_test.dart
|
| +++ b/tests/standalone/out_of_memory_test.dart
|
| @@ -7,7 +7,7 @@ void main() {
|
| var exception_thrown = false;
|
| try {
|
| List<int> buf = new List<int>(number_of_ints);
|
| - } on OutOfMemoryError catch (exc) {
|
| + } on OutOfMemoryException catch (exc) {
|
| exception_thrown = true;
|
| }
|
| Expect.isTrue(exception_thrown);
|
|
|