diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
| commit | 9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (patch) | |
| tree | 10b0bd88547c366b05404419b9e7dee1b1a1e270 /internal/verify/verify_test.go | |
| parent | cd4e5a23852ca5f9af7f66f1daa9dfbf7d8e7376 (diff) | |
All: Fix staticcheck errors
Diffstat (limited to 'internal/verify/verify_test.go')
| -rw-r--r-- | internal/verify/verify_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/verify/verify_test.go b/internal/verify/verify_test.go index 2c499b1..aa373d1 100644 --- a/internal/verify/verify_test.go +++ b/internal/verify/verify_test.go @@ -15,7 +15,8 @@ func Test_verifyWithKeys(t *testing.T) { if err != nil { panic(err) } - defer file.Close() + // this is best effort + defer file.Close() //nolint:errcheck // Get last line (key string) from file scanner := bufio.NewScanner(file) |
