diff --git a/src/git.rs b/src/git.rs index adfb147..f8c5465 100644 --- a/src/git.rs +++ b/src/git.rs @@ -99,9 +99,9 @@ mod tests { use super::*; #[test] - fn worktree() { + fn test_worktree() { 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(); }