File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -250,17 +250,13 @@ func TestSortedResults(t *testing.T) {
250
250
}{
251
251
{
252
252
opt : "--sort-results=false" ,
253
- want : strings .Join ([]string {
254
- "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" ,
253
+ want : "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" + "\n " +
255
254
"testdata/sort_results/main.go:12:5: var `db` is unused (unused)" ,
256
- }, "\n " ),
257
255
},
258
256
{
259
257
opt : "--sort-results=true" ,
260
- want : strings .Join ([]string {
261
- "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" ,
258
+ want : "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" + "\n " +
262
259
"testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" ,
263
- }, "\n " ),
264
260
},
265
261
}
266
262
You can’t perform that action at this time.
0 commit comments