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

Unified Diff: tests/corelib/list_get_range_test.dart

Issue 11275042: Renaming IndexOutOfRangeException to RangeError. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerated html files. Created 8 years, 1 month 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
« no previous file with comments | « tests/corelib/index_out_of_range_exception_test.dart ('k') | tests/corelib/list_insert_range_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 431af2cd885d8657535640a447e62f2540c5517d..88baeb6329504f0c6b487ab08889ba4862788a3d 100644
--- a/tests/corelib/list_get_range_test.dart
+++ b/tests/corelib/list_get_range_test.dart
@@ -37,7 +37,7 @@ main() {
}
void expectIOORE(Function f) {
- Expect.throws(f, (e) => e is IndexOutOfRangeException);
+ Expect.throws(f, (e) => e is RangeError);
}
void expectIAE(Function f) {
« no previous file with comments | « tests/corelib/index_out_of_range_exception_test.dart ('k') | tests/corelib/list_insert_range_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698