Index: pkg/unittest/lib/html_layout_config.dart |
diff --git a/pkg/unittest/lib/html_layout_config.dart b/pkg/unittest/lib/html_layout_config.dart |
index 1e56248fdb1e512386c3cfdb166532432b5dc292..a452e7934ea697b1bdba217481f8a0e78a898cc0 100644 |
--- a/pkg/unittest/lib/html_layout_config.dart |
+++ b/pkg/unittest/lib/html_layout_config.dart |
@@ -40,7 +40,7 @@ class _Message { |
_Message.fromString(String msg) { |
// The format of a message is '<type> <elapsedTime> <body>'. |
// If we don't get a type we default to a 'log' type. |
- var messageParser = const RegExp('\([a-z]*\) \([0-9]*\) \(.*\)'); |
+ var messageParser = new RegExp('\([a-z]*\) \([0-9]*\) \(.*\)'); |
Match match = messageParser.firstMatch(msg); |
if (match == null) { |
messageType = 'log'; |