mirror of
https://github.com/rust-lang/cargo
synced 2024-10-01 13:33:38 +00:00
Add missing requires_git
requirements.
This commit is contained in:
parent
9d43ffc02a
commit
bcf982cf24
|
@ -2642,7 +2642,7 @@ fn failed_submodule_checkout() {
|
|||
t.join().unwrap();
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cargo_test(requires_git)]
|
||||
fn use_the_cli() {
|
||||
let project = project();
|
||||
let git_project = git::new("dep1", |project| {
|
||||
|
@ -2743,7 +2743,7 @@ fn templatedir_doesnt_cause_problems() {
|
|||
p.cargo("build").run();
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cargo_test(requires_git)]
|
||||
fn git_with_cli_force() {
|
||||
// Supports a force-pushed repo.
|
||||
let git_project = git::new("dep1", |project| {
|
||||
|
@ -2800,7 +2800,7 @@ fn git_with_cli_force() {
|
|||
p.rename_run("foo", "foo2").with_stdout("two").run();
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cargo_test(requires_git)]
|
||||
fn git_fetch_cli_env_clean() {
|
||||
// This tests that git-fetch-with-cli works when GIT_DIR environment
|
||||
// variable is set (for whatever reason).
|
||||
|
|
Loading…
Reference in a new issue