Skip to content

Commit

Permalink
dev: concat string
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 21, 2022
1 parent 3aea4ce commit 320a18e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/run_test.go
Expand Up @@ -250,17 +250,13 @@ func TestSortedResults(t *testing.T) {
}{
{
opt: "--sort-results=false",
want: strings.Join([]string{
"testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)",
want: "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" + "\n" +
"testdata/sort_results/main.go:12:5: var `db` is unused (unused)",
}, "\n"),
},
{
opt: "--sort-results=true",
want: strings.Join([]string{
"testdata/sort_results/main.go:12:5: var `db` is unused (unused)",
want: "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" + "\n" +
"testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)",
}, "\n"),
},
}

Expand Down

0 comments on commit 320a18e

Please sign in to comment.