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

Unified Diff: tests/language/list_test.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 years, 3 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/language/list_test.dart
diff --git a/tests/language/list_test.dart b/tests/language/list_test.dart
index 628e765224078d376e4a0307fee458b761d12be1..192b2192ba149011a3b388a5d975ff289d8fcdb8 100644
--- a/tests/language/list_test.dart
+++ b/tests/language/list_test.dart
@@ -93,7 +93,7 @@ class ListTest {
Expect.equals(9, element);
Expect.throws(() => unsorted[2.1],
- (e) => e is IllegalArgumentException || e is TypeError);
+ (e) => e is ArgumentError || e is TypeError);
Expect.throws(() => new List(-1), (e) => true);
Expect.throws(() => new List(99999999999999999999999), (e) => true);

Powered by Google App Engine
This is Rietveld 408576698