]> git.giacomolli.uk - onechat/commitdiff
Name the test files that hold only shared helpers
authorAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 17:57:37 +0000 (14:57 -0300)
committerAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 17:57:37 +0000 (14:57 -0300)
A helper that one test file uses stays in that file. A helper that more
than one test file uses goes into a file without tests, whose name says
what it holds and ends with _helper_test.go. The name then shows that
the file has no tests, and a file named for one type does not seem to
test a feature of that name.


No differences found