Skip to content

[Test] Add Unit Tests for Core Functions #2

Closed

Description

@DFanso

Add unit tests to improve code coverage.

Files to test:

  • src/main.go (isGitRepository, isTextFile, isSmallFile functions)
  • src/types/types.go
  • src/types/promt.go

Requirements:

  • Use Go's testing package
  • Aim for >70% code coverage
  • Include both positive and negative test cases

Activity

  1. added a commit that references this issue on Oct 4, 2025
  2. pinned this issue on Oct 4, 2025
  3. Muneer320 commented on Oct 5, 2025

    @Muneer320
    Contributor

    Hello again @DFanso
    This looks simple enough, can I take this issue!

  4. DFanso commented on Oct 5, 2025

    @DFanso
    OwnerAuthor

    sure take it @Muneer320

  5. unpinned this issue on Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions