chore: update golangci-lint config and fix lint issues (#542)

* chore: update golangci-lint config and fix lint issues
This commit is contained in:
Roger
2026-04-04 16:26:07 +08:00
committed by GitHub
parent e35907de6f
commit 92053b85b0
14 changed files with 116 additions and 138 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ func TestAcquireFiles(t *testing.T) {
assert.Len(t, paths, len(cats))
for _, p := range paths {
_, err := os.Stat(p)
assert.NoError(t, err, "acquired file should exist")
require.NoError(t, err, "acquired file should exist")
}
}