Gitignore go.sum files inside testdata directories

go test occasionally regenerates a go.sum next to a parsed-only go.mod
fixture even though the test path never resolves modules. Stop tracking
the pattern so the working tree stays clean across test runs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Leon Mika 2026-05-02 10:58:50 +10:00
parent 6197ad077f
commit 5f9dd1d702

5
.gitignore vendored
View file

@ -7,6 +7,11 @@
*.test *.test
*.out *.out
# go test sometimes writes a go.sum into fixture directories that have a
# go.mod even though the test only parses the module file. The fixtures
# don't need a go.sum.
**/testdata/**/go.sum
# Editor # Editor
.idea/ .idea/
.vscode/ .vscode/