Index: tests/corelib/indexed_list_access_test.dart |
diff --git a/tests/corelib/indexed_list_access_test.dart b/tests/corelib/indexed_list_access_test.dart |
index 0cd7d48a7dba7d545bce7d84204d0ca7343708f9..2feab1e4402b051572c89f97c3f332e4ce6bbb15 100644 |
--- a/tests/corelib/indexed_list_access_test.dart |
+++ b/tests/corelib/indexed_list_access_test.dart |
@@ -32,7 +32,7 @@ checkList(var list) { |
checkCatch(var f, var list, var index) { |
try { |
f(list, index); |
- } on IllegalArgumentException catch (e) { |
+ } on ArgumentError catch (e) { |
return true; |
} on TypeError catch (t) { |
return true; // thrown in type checked mode. |