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

Unified Diff: tests/corelib/list_set_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/list_removeat_test.dart ('k') | tests/corelib/range_error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_set_range_test.dart
diff --git a/tests/corelib/list_set_range_test.dart b/tests/corelib/list_set_range_test.dart
index c37e950665e33ed3762c374c9d97c8e8d40a990d..f96ede55572a69262c301afa65b718faff1e0272 100644
--- a/tests/corelib/list_set_range_test.dart
+++ b/tests/corelib/list_set_range_test.dart
@@ -57,7 +57,7 @@ main() {
}
void expectIOORE(Function f) {
- Expect.throws(f, (e) => e is IndexOutOfRangeException);
+ Expect.throws(f, (e) => e is RangeError);
}
void testNegativeIndices() {
« no previous file with comments | « tests/corelib/list_removeat_test.dart ('k') | tests/corelib/range_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698