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

Unified Diff: tests/corelib/list_first_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « tests/corelib/linked_hash_map_test.dart ('k') | tests/corelib/list_fixed_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_first_test.dart
diff --git a/tests/corelib/list_first_test.dart b/tests/corelib/list_first_test.dart
index cdd718be90ee742f5e1a610a03ebca1a280e0129..c0795a45288a172e875fc7b9e648f73b560dffcd 100644
--- a/tests/corelib/list_first_test.dart
+++ b/tests/corelib/list_first_test.dart
@@ -4,7 +4,7 @@
void test(List list) {
if (list.isEmpty) {
- Expect.throws(() => list.first, (e) => e is RangeError);
+ Expect.throws(() => list.first, (e) => e is StateError);
} else {
Expect.equals(list[0], list.first);
}
« no previous file with comments | « tests/corelib/linked_hash_map_test.dart ('k') | tests/corelib/list_fixed_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698