Index: utils/tests/pub/install/git/require_pubspec_test.dart |
diff --git a/utils/tests/pub/install/git/require_pubspec_test.dart b/utils/tests/pub/install/git/require_pubspec_test.dart |
index 917a1f5fabc8a8982f85ee580b2b6928ba982ccd..00eb9d23e9828099da1d87405ce2146876891cc9 100644 |
--- a/utils/tests/pub/install/git/require_pubspec_test.dart |
+++ b/utils/tests/pub/install/git/require_pubspec_test.dart |
@@ -22,7 +22,7 @@ main() { |
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is |
// fixed. |
schedulePub(args: ['install'], |
- error: new RegExp('^Package "foo" doesn\'t have a ' |
+ error: const RegExp('^Package "foo" doesn\'t have a ' |
'pubspec.yaml file.'), |
exitCode: 1); |