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

Unified Diff: tests/corelib/queue_test.dart

Issue 11269045: Convert NoMoreElementsException and EmptyQueueException to StateError. (Closed) Base URL: https://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
« no previous file with comments | « tests/corelib/queue_iterator_test.dart ('k') | tests/corelib/set_iterator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/queue_test.dart
diff --git a/tests/corelib/queue_test.dart b/tests/corelib/queue_test.dart
index c49f5179d8a31ec7ae0c9c2b9c3be19cafcc5d55..30a62c04a4c91f4e65db3eef9013a231bf9de641 100644
--- a/tests/corelib/queue_test.dart
+++ b/tests/corelib/queue_test.dart
@@ -73,7 +73,7 @@ class QueueTest {
var exception = null;
try {
queue.removeFirst();
- } on EmptyQueueException catch (e) {
+ } on StateError catch (e) {
exception = e;
}
Expect.equals(true, exception != null);
@@ -82,7 +82,7 @@ class QueueTest {
exception = null;
try {
queue.removeLast();
- } on EmptyQueueException catch (e) {
+ } on StateError catch (e) {
exception = e;
}
Expect.equals(true, exception != null);
« no previous file with comments | « tests/corelib/queue_iterator_test.dart ('k') | tests/corelib/set_iterator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698