Add missing requires_git requirements.

This commit is contained in:
Eric Huss 2022-07-31 15:19:17 -07:00
parent 9d43ffc02a
commit bcf982cf24

View file

@ -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).