Index: sdk/lib/_internal/pub/test/install/git/require_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/git/require_pubspec_test.dart b/sdk/lib/_internal/pub/test/install/git/require_pubspec_test.dart |
index fd055288b626eb38232d1c6974accb1ab9f85956..1a317e959902cbc39708a497fc57a4f7f16fd7b2 100644 |
--- a/sdk/lib/_internal/pub/test/install/git/require_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/git/require_pubspec_test.dart |
@@ -18,8 +18,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" doesn\'t have a pubspec.yaml file.'); |
+ pubInstall(error: new RegExp(r'Could not find a file named "pubspec\.yaml" ' |
+ r'in "[^\n]*"\.')); |
}); |
} |