fix: clippy fixes for tests
This commit is contained in:
parent
3a112ddd8b
commit
a8eedfcac5
1 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@ fn repo_details_find_default_push_remote_finds_correct_remote() -> Result<()> {
|
|||
ServerGeneration::new(),
|
||||
common::forge_details(1, ForgeType::MockForge),
|
||||
None,
|
||||
GitDir::new(&root), // Server GitDir - should be ignored
|
||||
GitDir::new(root), // Server GitDir - should be ignored
|
||||
);
|
||||
repo_details.forge.hostname = Hostname("git.kemitix.net".to_string());
|
||||
repo_details.repo_path = RepoPath("kemitix/git-next".to_string());
|
||||
|
@ -196,7 +196,7 @@ fn gitdir_validate_should_pass_a_valid_git_repo() -> Result<()> {
|
|||
ServerGeneration::new(),
|
||||
common::forge_details(1, ForgeType::MockForge),
|
||||
None,
|
||||
GitDir::new(&root), // Server GitDir - should be ignored
|
||||
GitDir::new(root), // Server GitDir - should be ignored
|
||||
);
|
||||
repo_details.forge.hostname = Hostname("git.kemitix.net".to_string());
|
||||
repo_details.repo_path = RepoPath("kemitix/git-next".to_string());
|
||||
|
@ -216,7 +216,7 @@ fn gitdir_validate_should_fail_a_git_repo_with_wrong_remote() -> Result<()> {
|
|||
ServerGeneration::new(),
|
||||
common::forge_details(1, ForgeType::MockForge),
|
||||
None,
|
||||
GitDir::new(&root), // Server GitDir - should be ignored
|
||||
GitDir::new(root), // Server GitDir - should be ignored
|
||||
);
|
||||
repo_details.forge.hostname = Hostname("localhost".to_string());
|
||||
repo_details.repo_path = RepoPath("hello/world".to_string());
|
||||
|
|
Loading…
Reference in a new issue