Index: tools/testing/dart/status_file_parser.dart |
diff --git a/tools/testing/dart/status_file_parser.dart b/tools/testing/dart/status_file_parser.dart |
index 5d3cee637c24426203a41bbd4f8e8266e11439dc..c3b70d8cca6496b726e221fd52fbf9454d808bb8 100644 |
--- a/tools/testing/dart/status_file_parser.dart |
+++ b/tools/testing/dart/status_file_parser.dart |
@@ -23,9 +23,9 @@ const OK = "ok"; |
*/ |
const SLOW = "slow"; |
-final RegExp StripComment = new RegExp("^[^#]*"); |
-final RegExp HeaderPattern = new RegExp(r"^\[([^\]]+)\]"); |
-final RegExp RulePattern = new RegExp(r"\s*([^: ]*)\s*:(.*)"); |
+const RegExp StripComment = const RegExp("^[^#]*"); |
+const RegExp HeaderPattern = const RegExp(r"^\[([^\]]+)\]"); |
+const RegExp RulePattern = const RegExp(r"\s*([^: ]*)\s*:(.*)"); |
// TODO(whesse): Implement configuration_info library that contains data |
// structures for test configuration, including Section. |