| Index: sdk/lib/_internal/pub/test/install/git/require_pubspec_name_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/install/git/require_pubspec_name_test.dart b/sdk/lib/_internal/pub/test/install/git/require_pubspec_name_test.dart
|
| index 6baa826ec5e30724ba6a6be643991185b0fe9fae..92d35f223d403a7d2326f18b16b35b5e26d55d9f 100644
|
| --- a/sdk/lib/_internal/pub/test/install/git/require_pubspec_name_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/install/git/require_pubspec_name_test.dart
|
| @@ -20,10 +20,7 @@ main() {
|
|
|
| d.appDir({"foo": {"git": "../foo.git"}}).create();
|
|
|
| - // TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
|
| - // fixed.
|
| - pubInstall(error:
|
| - 'Package "foo"\'s pubspec.yaml file is '
|
| - 'missing the required "name" field (e.g. "name: foo").');
|
| + pubInstall(error: new RegExp(r'Missing the required "name" field \(e\.g\. '
|
| + r'"name: foo"\)\.'));
|
| });
|
| }
|
|
|