Index: sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
index 76ff65cc1761e90bd402d9c36679e757903ee93d..7abaaf310d402ba0d0f63c2406093c49fcb73229 100644 |
--- a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
@@ -20,6 +20,7 @@ main() { |
}) |
]).create(); |
- 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]*"\.')); |
}); |
} |