Index: utils/tests/pub/install/git/require_pubspec_name_test.dart |
diff --git a/utils/tests/pub/install/git/require_pubspec_name_test.dart b/utils/tests/pub/install/git/require_pubspec_name_test.dart |
index e0ea55a93f6a7e1f718904aa4456e344ce5bbf4c..bde1ee15a73a58dff80118c3d477681a9375ac91 100644 |
--- a/utils/tests/pub/install/git/require_pubspec_name_test.dart |
+++ b/utils/tests/pub/install/git/require_pubspec_name_test.dart |
@@ -23,7 +23,7 @@ main() { |
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is |
// fixed. |
schedulePub(args: ['install'], |
- error: new RegExp(r'^Package "foo"' "'" 's pubspec.yaml file is ' |
+ error: const RegExp(r'^Package "foo"' "'" 's pubspec.yaml file is ' |
r'missing the required "name" field \(e\.g\. "name: foo"\)\.'), |
exitCode: 1); |