Skip to content

False positive for t.Errorf #17

@SVilgelm

Description

@SVilgelm

I tried to enable the linter with golangci-lint and it fails on the t.Errorf function, it is same as Printf, should be ignored

cond_expr_test.go:472:44: pass []any as any to func t.Errorf func(format string, args ...any) (asasalint)
                                        t.Errorf("arguments don't match: %v", arguments)
                                                                              ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions