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

Unified Diff: tests/corelib/list_get_range_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/list_get_range_test.dart
diff --git a/tests/corelib/list_get_range_test.dart b/tests/corelib/list_get_range_test.dart
index cdf1dd9517bfc8a1742dee5c07be54c2896d8945..431af2cd885d8657535640a447e62f2540c5517d 100644
--- a/tests/corelib/list_get_range_test.dart
+++ b/tests/corelib/list_get_range_test.dart
@@ -41,5 +41,5 @@ void expectIOORE(Function f) {
}
void expectIAE(Function f) {
- Expect.throws(f, (e) => e is IllegalArgumentException);
+ Expect.throws(f, (e) => e is ArgumentError);
}

Powered by Google App Engine
This is Rietveld 408576698