fix: replace unused parameters with underscores (revive)

- Replace unused function parameters with _ in test files
- Affects version_test.go, debug_test.go, and pgpunlock_test.go
This commit is contained in:
2025-06-20 12:50:16 -07:00
parent 5ed850196b
commit eb19fa4b97
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -102,16 +102,16 @@ func TestDebugFunctions(t *testing.T) {
}
// Test that debug functions don't panic and can be called
t.Run("Debug", func(t *testing.T) {
t.Run("Debug", func(_ *testing.T) {
Debug("test debug message")
Debug("test with args", "key", "value", "number", 42)
})
t.Run("DebugF", func(t *testing.T) {
t.Run("DebugF", func(_ *testing.T) {
DebugF("formatted message: %s %d", "test", 123)
})
t.Run("DebugWith", func(t *testing.T) {
t.Run("DebugWith", func(_ *testing.T) {
DebugWith("structured message",
slog.String("string_key", "string_value"),
slog.Int("int_key", 42),