chore: enable more linter (#1557)

This commit is contained in:
Jan-Otto Kröpke
2024-08-10 22:05:33 +02:00
committed by GitHub
parent 27a3553dac
commit 9b02e4a0ea
87 changed files with 337 additions and 494 deletions

View File

@@ -14,6 +14,8 @@ type simple struct {
}
func TestUnmarshalPerflib(t *testing.T) {
t.Parallel()
cases := []struct {
name string
obj *PerfObject
@@ -110,6 +112,8 @@ func TestUnmarshalPerflib(t *testing.T) {
}
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
t.Parallel()
output := make([]simple, 0)
err := UnmarshalObject(c.obj, &output, log.NewNopLogger())
if err != nil && !c.expectError {