fixup git::test_worktree()
This commit is contained in:
parent
0afdcc4aa9
commit
4fb4ed4ea3
1 changed files with 2 additions and 2 deletions
|
|
@ -99,9 +99,9 @@ mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn worktree() {
|
fn test_worktree() {
|
||||||
let worktree_dir = std::path::Path::new("/tmp/boo");
|
let worktree_dir = std::path::Path::new("/tmp/boo");
|
||||||
checkout_branch_in_worktree("main", worktree_dir).unwrap();
|
checkout_branch_in_worktree("origin/main", worktree_dir).unwrap();
|
||||||
remove_worktree(worktree_dir).unwrap();
|
remove_worktree(worktree_dir).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue