Index: tests/corelib/big_integer_vm_test.dart |
diff --git a/tests/corelib/big_integer_vm_test.dart b/tests/corelib/big_integer_vm_test.dart |
index 9fe3eb71997806c578332dc70663115ac208b385..3be7b604de5b7e2b41b2a683a1314267db5c6a7d 100644 |
--- a/tests/corelib/big_integer_vm_test.dart |
+++ b/tests/corelib/big_integer_vm_test.dart |
@@ -143,7 +143,7 @@ class BigIntegerTest { |
bool exceptionCaught = false; |
try { |
var a = 1 << 1111111111111111111111111111; |
- } catch (OutOfMemoryException e) { |
+ } on OutOfMemoryException catch (e) { |
exceptionCaught = true; |
} |
Expect.equals(true, exceptionCaught); |