test(install): correct the term workspace -> local packagd

This commit is contained in:
Weihang Lo 2023-05-03 01:04:18 +01:00
parent 79bb2d7143
commit 7fb35c9c4e
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7

View File

@ -2365,9 +2365,9 @@ fn self_referential() {
}
#[cargo_test]
fn ambiguous_registry_vs_local_workspace_package() {
// Correctly install 'foo' from a workspace, even if that workspace
// (somewhere) also depends on a registry package named 'foo'.
fn ambiguous_registry_vs_local_package() {
// Correctly install 'foo' from a local package, even if that package also
// depends on a registry dependency named 'foo'.
Package::new("foo", "0.0.1")
.file("src/lib.rs", "fn hello() {}")
.publish();