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:
@@ -28,7 +28,7 @@ func init() {
|
||||
}
|
||||
|
||||
// setupNonInteractiveGPG creates a custom GPG environment for testing
|
||||
func setupNonInteractiveGPG(t *testing.T, tempDir, passphrase, gnupgHomeDir string) {
|
||||
func setupNonInteractiveGPG(t *testing.T, _, passphrase, gnupgHomeDir string) {
|
||||
// Create GPG config file for non-interactive operation
|
||||
gpgConfPath := filepath.Join(gnupgHomeDir, "gpg.conf")
|
||||
gpgConfContent := `batch
|
||||
|
||||
Reference in New Issue
Block a user