Skip to content

Commit 79d5f8f

Browse files
committed
newlinter: applying comments
1 parent 778ccb6 commit 79d5f8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/golinters/gofuncor/gofuncor_integration_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package gofuncor
22

33
import (
4-
"github.com/golangci/golangci-lint/v2/test/testshared/integration"
54
"testing"
5+
6+
"github.com/golangci/golangci-lint/v2/test/testshared/integration"
67
)
78

89
func TestFromTestdata(t *testing.T) {

pkg/golinters/gofuncor/testdata/gofuncor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (m *MyStruct2) SetName(name string) {
3131
m.Name = name
3232
}
3333

34-
func NewMyStruct2() *MyStruct2 { // want `constructor \"NewMyStruct2\" for struct \"MyStruct2\" should be placed before struct method \"GetName\"`
34+
func NewMyStruct2() *MyStruct2 { // want `constructor "NewMyStruct2" for struct "MyStruct2" should be placed before struct method "GetName"`
3535
return &MyStruct2{Name: "John"}
3636
}
3737

0 commit comments

Comments
 (0)