525839b6

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Reject Go test files that use non-test packages (#58)

Add a dev-script that scans tracked *_test.go files and fails if any
package declaration does not end in _test.

Wire the check into the pre-commit hook and flake outputs so the
repository runs it in the standard validation paths.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/58
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux