Index: tests/html/element_test.dart |
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart |
index c6c358c2fcb4d764b4dbe15f78138912a3e58615..25782540c1bde37c63b7681a5d0ef2f3dc413014 100644 |
--- a/tests/html/element_test.dart |
+++ b/tests/html/element_test.dart |
@@ -85,7 +85,7 @@ main() { |
group('constructors', () { |
test('error', () { |
Expect.throws(() => new Element.html('<br/><br/>'), |
- (e) => e is IllegalArgumentException); |
+ (e) => e is ArgumentError); |
}); |
test('.html has no parent', () => |