Skip to content

Create unit tests for pkg/tar-patch package #36

@miabbott

Description

@miabbott

The pkg/tar-patch package (~175 lines) handles patch application but has no unit tests.

Test File to Create

  • pkg/tar-patch/apply_test.go

Test Coverage

  • Apply() function with various delta operations
  • FilesystemDataSource implementation
  • Error handling (missing files, corrupted deltas)
  • Edge cases (symlinks, hardlinks, sparse files)

Acceptance Criteria

  • All tests passing
  • Code coverage >= 80% for pkg/tar-patch

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions