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

Unified Diff: tests/corelib/string_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/string_test.dart
diff --git a/tests/corelib/string_test.dart b/tests/corelib/string_test.dart
index 786a9cfdd2f349ddad18eeb0c29d54a9b36c2dfc..1f7237f703fa86a0c00d9a17dd479021c1e4a97c 100644
--- a/tests/corelib/string_test.dart
+++ b/tests/corelib/string_test.dart
@@ -28,7 +28,7 @@ class StringTest {
bool exception_caught = false;
try {
var c = a[20]; // Throw exception.
- } on IndexOutOfRangeException catch (e) {
+ } on RangeError catch (e) {
exception_caught = true;
}
Expect.equals(true, exception_caught);

Powered by Google App Engine
This is Rietveld 408576698