]> git.giacomolli.uk - onechat/commitdiff
Rename the test files of shared helpers
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 18:09:44 +0000 (15:09 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 18:09:44 +0000 (15:09 -0300)
The test files that hold no tests and only helpers for other test files
get names that end in _helper_test.go and say what they hold: the sync
buffer, the clock, and the summarizer. A reader then finds a shared
helper from the file name and does not look for tests in these files.
The content of the files does not change.

Issue: 947bddb

clock_helper_test.go [moved from clock_test.go with 100% similarity]
summarizer_helper_test.go [moved from summarizer_test.go with 100% similarity]
sync_buffer_helper_test.go [moved from buffer_test.go with 100% similarity]

similarity index 100%
rename from clock_test.go
rename to clock_helper_test.go
similarity index 100%
rename from summarizer_test.go
rename to summarizer_helper_test.go
similarity index 100%
rename from buffer_test.go
rename to sync_buffer_helper_test.go