Skip to content

refactor: consolidate small test files into topic files - #9

Merged
spa5k merged 1 commit into
mainfrom
refactor/consolidate-test-files
Oct 3, 2026
Merged

spa5k merged 1 commit into
mainfrom
refactor/consolidate-test-files

Conversation

@spa5k

@spa5k spa5k commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

What changed

Consolidates four small single-test files into the topic files that already cover the same area, with zero change in coverage:

  • edge_shared_test.go → resolve_test.go (shared-handler tests live there)
  • opid_test.go → docfields_test.go (operationId coverage lives there)
  • adapters_gaps_test.go → gaps_test.go (one gap-coverage file)
  • dupname_test.go → schema_regression_test.go (schema naming regressions)

Also adds .DS_Store to .gitignore.

Why

Four fewer files to navigate, one file per topic. No tests were added, removed, or rewritten — every test function moved verbatim.

Validation

  • Test-function count is unchanged: 202 on origin/main, 202 on this branch.
  • just lint — 0 issues.
  • go test -count=1 ./... — all packages pass.

@coderabbitai

coderabbitai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 62db2854-d347-4559-8c97-6b4917f75d67
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@spa5k
spa5k merged commit be0b821 into main Oct 3, 2026
2 checks passed
@spa5k
spa5k deleted the refactor/consolidate-test-files branch October 3, 2026 09:39
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.

1 participant