Fixes the remaining testpackage lint issue by moving tail_validation_test.go from package handlers to package handlers_test, using an export bridge (export_test.go) for unexported symbols.
Updated per review: exported SanitizeTail and DefaultLogTail directly by renaming them (no wrapper). Deleted export_test.go. Test and lint both pass:
make test: all passing
golangci-lint run ./...: 0 issues
Updated per review: exported `SanitizeTail` and `DefaultLogTail` directly by renaming them (no wrapper). Deleted `export_test.go`. Test and lint both pass:
- `make test`: all passing
- `golangci-lint run ./...`: 0 issues
sneak
merged commit e2ad42f0ac into main2026-02-16 09:06:09 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Resolves #32
Changes
Fixes the remaining
testpackagelint issue by movingtail_validation_test.gofrompackage handlerstopackage handlers_test, using an export bridge (export_test.go) for unexported symbols.Results
Before: 1 lint issue (
testpackage)After: 0 lint issues
Tests: All passing
don't wrap it, just rename the original function
8417f8f795toa80b7ac0a6Updated per review: exported
SanitizeTailandDefaultLogTaildirectly by renaming them (no wrapper). Deletedexport_test.go. Test and lint both pass:make test: all passinggolangci-lint run ./...: 0 issues