File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -253,13 +253,11 @@ func TestSortedResults(t *testing.T) {
253253 want : strings .Join ([]string {
254254 "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" ,
255255 "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" ,
256- "testdata/sort_results/main.go:8:6: func `returnError` is unused (unused)" ,
257256 }, "\n " ),
258257 },
259258 {
260259 opt : "--sort-results=true" ,
261260 want : strings .Join ([]string {
262- "testdata/sort_results/main.go:8:6: func `returnError` is unused (unused)" ,
263261 "testdata/sort_results/main.go:12:5: var `db` is unused (unused)" ,
264262 "testdata/sort_results/main.go:15:13: Error return value is not checked (errcheck)" ,
265263 }, "\n " ),
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ func returnError() error {
1111
1212var db * sql.DB
1313
14- func _ () {
14+ func Example () {
1515 returnError ()
1616}
You can’t perform that action at this time.
0 commit comments