@@ -9,14 +9,13 @@ import (
9
9
10
10
"github.com/golangci/golangci-lint/pkg/fsutils"
11
11
"github.com/golangci/golangci-lint/pkg/logutils"
12
- "github.com/golangci/golangci-lint/pkg/report"
13
12
"github.com/golangci/golangci-lint/pkg/result"
14
13
)
15
14
16
15
func TestSeverity_multiple (t * testing.T ) {
17
16
lineCache := fsutils .NewLineCache (fsutils .NewFileCache ())
18
17
files := fsutils .NewFiles (lineCache , "" )
19
- log := report . NewLogWrapper ( logutils .NewStderrLog (logutils .DebugKeyEmpty ), & report. Data {} )
18
+ log := logutils .NewStderrLog (logutils .DebugKeyEmpty )
20
19
21
20
opts := SeverityOptions {
22
21
Default : "error" ,
@@ -132,7 +131,7 @@ func TestSeverity_pathPrefix(t *testing.T) {
132
131
lineCache := fsutils .NewLineCache (fsutils .NewFileCache ())
133
132
pathPrefix := path .Join ("some" , "dir" )
134
133
files := fsutils .NewFiles (lineCache , pathPrefix )
135
- log := report . NewLogWrapper ( logutils .NewStderrLog (logutils .DebugKeyEmpty ), & report. Data {} )
134
+ log := logutils .NewStderrLog (logutils .DebugKeyEmpty )
136
135
137
136
opts := SeverityOptions {
138
137
Default : "error" ,
@@ -217,7 +216,7 @@ func TestSeverity_text(t *testing.T) {
217
216
func TestSeverity_onlyDefault (t * testing.T ) {
218
217
lineCache := fsutils .NewLineCache (fsutils .NewFileCache ())
219
218
files := fsutils .NewFiles (lineCache , "" )
220
- log := report . NewLogWrapper ( logutils .NewStderrLog (logutils .DebugKeyEmpty ), & report. Data {} )
219
+ log := logutils .NewStderrLog (logutils .DebugKeyEmpty )
221
220
222
221
opts := SeverityOptions {
223
222
Default : "info" ,
0 commit comments