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

Unified Diff: tests/corelib/list_remove_range_test.dart

Issue 11275042: Renaming IndexOutOfRangeException to RangeError. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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_remove_range_test.dart
diff --git a/tests/corelib/list_remove_range_test.dart b/tests/corelib/list_remove_range_test.dart
index b806c9212cba0a0dc58ae8a04aea1bb913c83c4a..4e41ef6cfb4b7a0838fbf73ac2776a712c7d3ec8 100644
--- a/tests/corelib/list_remove_range_test.dart
+++ b/tests/corelib/list_remove_range_test.dart
@@ -40,7 +40,7 @@ main() {
}
void expectIOORE(Function f) {
- Expect.throws(f, (e) => e is IndexOutOfRangeException);
+ Expect.throws(f, (e) => e is RangeError);
}
void testNegativeIndices() {

Powered by Google App Engine
This is Rietveld 408576698