Index: tests/html/queryall_test.dart |
diff --git a/tests/html/queryall_test.dart b/tests/html/queryall_test.dart |
index 6b701573ac002a32f6cd1ec3e13868cd97fef29a..181f5c31c69567cf3f977af16487b12630b4541c 100644 |
--- a/tests/html/queryall_test.dart |
+++ b/tests/html/queryall_test.dart |
@@ -76,7 +76,7 @@ main() { |
test('immutable', () { |
List<Element> list = div.queryAll('*'); |
int len = list.length; |
- expect(() { list.add(new DivElement()); }, throwsException); |
+ expect(() { list.add(new DivElement()); }, throwsUnsupportedError); |
expect(list.length, equals(len)); |
}); |
} |