Index: tests/corelib/set_iterator_test.dart |
diff --git a/tests/corelib/set_iterator_test.dart b/tests/corelib/set_iterator_test.dart |
index f848d40e39907dc83b87365f2016a3f3f175bd6c..51ad493784e7eae4f2c4dfb35343b567df94125f 100644 |
--- a/tests/corelib/set_iterator_test.dart |
+++ b/tests/corelib/set_iterator_test.dart |
@@ -24,7 +24,7 @@ class SetIteratorTest { |
var exception = null; |
try { |
it.next(); |
- } catch (NoMoreElementsException e) { |
+ } on NoMoreElementsException catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |