Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: tests/corelib/indexed_list_access_test.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698