File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 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) {
250250 }{
251251 {
252252 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 " +
255254 "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" ,
256- }, "\n " ),
257255 },
258256 {
259257 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 " +
262259 "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" ,
263- }, "\n " ),
264260 },
265261 }
266262
You can’t perform that action at this time.
0 commit comments