fixup git::test_worktree()

This commit is contained in:
Sebastian Kuzminsky 2025-07-05 10:30:35 -06:00
parent 0afdcc4aa9
commit 4fb4ed4ea3

View file

@ -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();
}