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

Unified Diff: tests/corelib/string_base_vm_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/range_error_test.dart ('k') | tests/corelib/string_substring_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_base_vm_test.dart
diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib/string_base_vm_test.dart
index 87d3a53764578c6f72f4f9614e7af3e74bafde64..be44250b30096eb25643a7e64e838b9d7b0a5292 100644
--- a/tests/corelib/string_base_vm_test.dart
+++ b/tests/corelib/string_base_vm_test.dart
@@ -55,14 +55,14 @@ class StringBaseTest {
bool exception_caught = false;
try {
s.substring(5, 12);
- } on IndexOutOfRangeException catch (ex) {
+ } on RangeError catch (ex) {
exception_caught = true;
}
Expect.equals(true, exception_caught);
exception_caught = false;
try {
s.substring(5, 4);
- } on IndexOutOfRangeException catch (ex) {
+ } on RangeError catch (ex) {
exception_caught = true;
}
Expect.equals(true, exception_caught);
« no previous file with comments | « tests/corelib/range_error_test.dart ('k') | tests/corelib/string_substring_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698