Index: tests/corelib/queue_test.dart |
diff --git a/tests/corelib/queue_test.dart b/tests/corelib/queue_test.dart |
index 0d42b99101ff13825b1c9d4b7c3a7180ccef7f50..c49f5179d8a31ec7ae0c9c2b9c3be19cafcc5d55 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(); |
- } catch (EmptyQueueException e) { |
+ } on EmptyQueueException catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |
@@ -82,7 +82,7 @@ class QueueTest { |
exception = null; |
try { |
queue.removeLast(); |
- } catch (EmptyQueueException e) { |
+ } on EmptyQueueException catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |