Skip to content

Test git.rkt against a temporary git repository #819

Closed

Description

@jackfirth

private/git.rkt is at 72.9% coverage: git-commit! and most of the hunk-parsing branches in git-diff-modified-lines are untested. A temp-directory fixture (git init, commit, modify some files) covers both. The same fixture would let resyntax-analysis-commit-fixes! in main.rkt get tested too, which is currently only exercised in production by the GitHub Action.

Part of #680.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTests and testing tools

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions