Skip to content

Missing test for parse_worktree_list with malformed input #97

@wollax

Description

@wollax

Problem

parse_worktree_list with malformed input (missing HEAD line, worktree line without path) is not tested. The filter_map with ? operators silently drops malformed entries, which is correct but unverified.

Solution

Add a unit test with malformed porcelain input (e.g., missing HEAD) and verify entries are silently skipped.

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