Index: tests/corelib/list_test.dart |
diff --git a/tests/corelib/list_test.dart b/tests/corelib/list_test.dart |
index a98f4a8eaf4f17a0c6d6f4056b2afa5be3215289..159c6d5f1a053f30d782f6011dae1ed126ece183 100644 |
--- a/tests/corelib/list_test.dart |
+++ b/tests/corelib/list_test.dart |
@@ -90,7 +90,7 @@ class ListTest { |
var exception = null; |
try { |
list.clear(); |
- } catch (UnsupportedOperationException e) { |
+ } on UnsupportedOperationException catch (e) { |
exception = e; |
} |
Expect.equals(true, exception != null); |