Index: tests/html/exceptions_test.dart |
diff --git a/tests/html/exceptions_test.dart b/tests/html/exceptions_test.dart |
index 98d7331bc78b31c14e3991bd70c80d68cd71f25f..388835fc354601e491ef6ad2116b2c18931ece91 100644 |
--- a/tests/html/exceptions_test.dart |
+++ b/tests/html/exceptions_test.dart |
@@ -5,11 +5,11 @@ import 'dart:html'; |
main() { |
useHtmlConfiguration(); |
- test('DOMException', () { |
+ test('DomException', () { |
try { |
window.webkitNotifications.createNotification('', '', ''); |
- } on DOMException catch (e) { |
- expect(e.code, DOMException.SECURITY_ERR); |
+ } on DomException catch (e) { |
+ expect(e.code, DomException.SECURITY_ERR); |
expect(e.name, 'SECURITY_ERR'); |
expect(e.message, 'SECURITY_ERR: DOM Exception 18'); |
} |