Skip to content

Commit

Permalink
Replace sort.Sort with sort.Strings
Browse files Browse the repository at this point in the history
Fix staticcheck issue
  • Loading branch information
lelenanam authored and LK4D4 committed Oct 27, 2019
1 parent 167c2c5 commit d87a917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/vndr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ func main(){})
t.Fatal(err)
}

sort.Sort(sort.StringSlice(kept))
sort.Strings(kept)
if !reflect.DeepEqual(kept, []string{
"LICENSE",
"main.go",
Expand Down

0 comments on commit d87a917

Please sign in to comment.