Skip to content

test: cover filescan parallel helper#111

Draft
vku2018 wants to merge 1 commit into
sorafujitani:mainfrom
vku2018:codex/add-filescan-parallel-tests
Draft

test: cover filescan parallel helper#111
vku2018 wants to merge 1 commit into
sorafujitani:mainfrom
vku2018:codex/add-filescan-parallel-tests

Conversation

@vku2018

@vku2018 vku2018 commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • adds dedicated tests for internal/filescan.Parallel
  • covers input-order preservation under out-of-order goroutine completion
  • covers nil/empty input, rejected items, single-item input, and 100-item input
  • checks the observed concurrent callback count stays within the helper's concurrency limit

Validation

  • git diff --check
  • Could not run go test ./internal/filescan or go test -race ./internal/filescan locally because this Windows environment does not have go/gofmt installed (go: The term 'go' is not recognized...).

Closes #96

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: add unit tests for internal/filescan

1 participant