mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
Integrate golangci-lint into CI/CD pipeline (#1346)
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@ func TestErrorStringsRule_Configure(t *testing.T) {
|
||||
{
|
||||
name: "Invalid function",
|
||||
arguments: lint.Arguments{"errors."},
|
||||
wantErr: errors.New("found invalid custom function: errors."),
|
||||
wantErr: errors.New("found invalid custom function: errors."), //nolint:revive // error-strings: it's ok for tests
|
||||
},
|
||||
{
|
||||
name: "Invalid custom function",
|
||||
|
||||
Reference in New Issue
Block a user