Skip to content

Commit

Permalink
test(install): correct the term workspace -> local packagd
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed May 3, 2023
1 parent 79bb2d7 commit 7fb35c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testsuite/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7fb35c9

Please sign in to comment.