Index: sdk/lib/_internal/pub/test/update/git/update_to_nonexistent_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/update/git/update_to_nonexistent_pubspec_test.dart b/sdk/lib/_internal/pub/test/update/git/update_to_nonexistent_pubspec_test.dart |
index 8cb8971748ee8aaac72c3b63ed5d3964e53fdec6..6a9213c8348e278da37588bf31070f791467726e 100644 |
--- a/sdk/lib/_internal/pub/test/update/git/update_to_nonexistent_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/update/git/update_to_nonexistent_pubspec_test.dart |
@@ -31,7 +31,8 @@ main() { |
repo.runGit(['rm', 'pubspec.yaml']); |
repo.runGit(['commit', '-m', 'delete']); |
- pubUpdate(error: 'Package "foo" doesn\'t have a pubspec.yaml file.'); |
+ pubUpdate(error: new RegExp(r'Could not find a file named "pubspec.yaml" ' |
+ r'in "[^\n]*"\.')); |
d.dir(packagesPath, [ |
d.dir('foo', [ |