diff options
Diffstat (limited to 'test_utils/src/git.rs')
| -rw-r--r-- | test_utils/src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs index 470cd83..2562799 100644 --- a/test_utils/src/git.rs +++ b/test_utils/src/git.rs | |||
| @@ -265,7 +265,7 @@ impl GitTestRepo { | |||
| 265 | let branch = self | 265 | let branch = self |
| 266 | .git_repo | 266 | .git_repo |
| 267 | .find_branch(branch_name, git2::BranchType::Local) | 267 | .find_branch(branch_name, git2::BranchType::Local) |
| 268 | .context(format!("cannot find branch {branch_name}"))?; | 268 | .context(format!("failed to find branch {branch_name}"))?; |
| 269 | Ok(branch.into_reference().peel_to_commit()?.id()) | 269 | Ok(branch.into_reference().peel_to_commit()?.id()) |
| 270 | } | 270 | } |
| 271 | 271 | ||