| Index: utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| diff --git a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| index c8f4648924973f88b025171bd44e6334764c63eb..c2733be1e99428659cc6aa7f02b105fa573f1f53 100644
|
| --- a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| +++ b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| @@ -30,7 +30,7 @@ main() {
|
| // TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
|
| // fixed.
|
| schedulePub(args: ['install'],
|
| - error: new RegExp(r'^The name you specified for your dependency, '
|
| + error: const RegExp(r'^The name you specified for your dependency, '
|
| '"weirdname", doesn\'t match the name "foo" in its '
|
| r'pubspec\.'),
|
| exitCode: 1);
|
|
|