Index: tests/corelib/queue_iterator_test.dart |
diff --git a/tests/corelib/queue_iterator_test.dart b/tests/corelib/queue_iterator_test.dart |
index 59c3b83030b7208b2d7bed70dcde74ab89e138aa..488192ee40c790d908dc7797cde373aad330f133 100644 |
--- a/tests/corelib/queue_iterator_test.dart |
+++ b/tests/corelib/queue_iterator_test.dart |
@@ -14,7 +14,7 @@ class QueueIteratorTest { |
var exception = null; |
try { |
it.next(); |
- } catch (NoMoreElementsException e) { |
+ } on NoMoreElementsException catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |