Skip to content

Commit

Permalink
Auto merge of #12188 - epage:git, r=weihanglo
Browse files Browse the repository at this point in the history
test(add): Remove expensive test

This is a carry-over from cargo-edit where we had to worry about the UX of all of the behavior while now we are just relying on built-in cargo behavior and don't need to test it specifically for `cargo add`.

On my machine, this test takes 11s.
  • Loading branch information
bors committed May 27, 2023
2 parents e5f941d + 0da6997 commit 0425b11
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 47 deletions.
1 change: 0 additions & 1 deletion tests/testsuite/cargo_add/invalid_git_external/in

This file was deleted.

28 changes: 0 additions & 28 deletions tests/testsuite/cargo_add/invalid_git_external/mod.rs

This file was deleted.

5 changes: 0 additions & 5 deletions tests/testsuite/cargo_add/invalid_git_external/out/Cargo.toml

This file was deleted.

12 changes: 0 additions & 12 deletions tests/testsuite/cargo_add/invalid_git_external/stderr.log

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion tests/testsuite/cargo_add/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ mod git_rev;
mod git_tag;
mod infer_prerelease;
mod invalid_arg;
mod invalid_git_external;
mod invalid_git_name;
mod invalid_key_inherit_dependency;
mod invalid_key_overwrite_inherit_dependency;
Expand Down

0 comments on commit 0425b11

Please sign in to comment.