| Index: tests/html/svgelement_test.dart
|
| diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart
|
| index 3727054510902982ae73cccd0f08409940a7a00a..9892601934d7e7674ef7d9f50bef46b63c4cbfa7 100644
|
| --- a/tests/html/svgelement_test.dart
|
| +++ b/tests/html/svgelement_test.dart
|
| @@ -50,13 +50,13 @@ main() {
|
|
|
| test('empty', () {
|
| Expect.throws(() => new SVGElement.svg(""),
|
| - (e) => e is IllegalArgumentException);
|
| + (e) => e is ArgumentError);
|
| });
|
|
|
| test('too many elements', () {
|
| Expect.throws(
|
| () => new SVGElement.svg("<circle></circle><path></path>"),
|
| - (e) => e is IllegalArgumentException);
|
| + (e) => e is ArgumentError);
|
| });
|
| });
|
|
|
|
|