mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
test(install): correct the term workspace -> local packagd
This commit is contained in:
parent
79bb2d7143
commit
7fb35c9c4e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user