| Index: tests/html/exceptions_test.dart
|
| diff --git a/tests/html/exceptions_test.dart b/tests/html/exceptions_test.dart
|
| index 5521d29d57941b904e30aadb4e6a61afb10ffcb6..b8f26ab8aa3e9886cdd1beb1f6043a5f653b8958 100644
|
| --- a/tests/html/exceptions_test.dart
|
| +++ b/tests/html/exceptions_test.dart
|
| @@ -11,8 +11,8 @@ main() {
|
| // Intentionally do not initialize it!
|
| try {
|
| document.dispatchEvent(event);
|
| - } on EventException catch (e) {
|
| - expect(e.name, DomException.UNSPECIFIED_EVENT_TYPE);
|
| + } on DomException catch (e) {
|
| + expect(e.name, DomException.INVALID_STATE);
|
| }
|
| });
|
| }
|
|
|