Skip to content

Commit

Permalink
Auto merge of #14357 - dpaoliello:infname, r=epage
Browse files Browse the repository at this point in the history
Don't specify the depedency name in the `cargo add` inferred name test

The `cargo_add/path_inferred_name` was incorrectly adding the name of the dependency to add in its command line.
  • Loading branch information
bors committed Aug 6, 2024
2 parents 403bc5b + 4d49d2d commit 94977cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/cargo_add/path_inferred_name/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn case() {

snapbox::cmd::Command::cargo_ui()
.arg("add")
.arg_line("cargo-list-test-fixture-dependency --path ../dependency")
.arg_line("--path ../dependency")
.current_dir(&cwd)
.assert()
.success()
Expand Down

0 comments on commit 94977cb

Please sign in to comment.