Skip to content

Missing test for resolve_worktree_dir with empty base_dir config #95

@wollax

Description

@wollax

Problem

resolve_worktree_dir has an explicit .filter(|d| !d.is_empty()) guard that treats WorktreeConfig { base_dir: "" } the same as None. No test verifies this fallthrough behavior.

Solution

Add a unit test with make_config(Some("")) and verify it falls through to the default ../<project>-worktrees/ path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogKata backlog issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions