Index: tests/corelib/growable_object_array2_vm_test.dart |
diff --git a/tests/corelib/growable_object_array2_vm_test.dart b/tests/corelib/growable_object_array2_vm_test.dart |
index 5c8af1422bb498781107e2ec9f256730f0b11885..87abe709b9de55307861d50e9033da58624c1e37 100644 |
--- a/tests/corelib/growable_object_array2_vm_test.dart |
+++ b/tests/corelib/growable_object_array2_vm_test.dart |
@@ -39,7 +39,7 @@ class GrowableObjectArray2Test { |
bool exceptionCaught = false; |
try { |
var elem = g[g.length]; |
- } catch (IndexOutOfRangeException e) { |
+ } on IndexOutOfRangeException catch (e) { |
exceptionCaught = true; |
} |
Expect.equals(true, exceptionCaught); |