Index: pkg/unittest/lib/interactive_html_config.dart |
diff --git a/pkg/unittest/lib/interactive_html_config.dart b/pkg/unittest/lib/interactive_html_config.dart |
index 7cc2a04384c2902b9b2bc191a978a934f7f2e212..3ff750abc596a104a987c60eb155ce19199a33e0 100644 |
--- a/pkg/unittest/lib/interactive_html_config.dart |
+++ b/pkg/unittest/lib/interactive_html_config.dart |
@@ -258,7 +258,7 @@ class ParentInteractiveHtmlConfiguration extends HtmlConfiguration { |
window.on.message.add(_messageHandler); |
} |
- static final _notAlphaNumeric = new RegExp('[^a-z0-9A-Z]'); |
+ static const _notAlphaNumeric = const RegExp('[^a-z0-9A-Z]'); |
String _stringToDomId(String s) { |
if (s.length == 0) { |