From e4c8818e6aa9b2de49b27c2a3b7b215c344f27a7 Mon Sep 17 00:00:00 2001 From: Elena Morozova Date: Sat, 26 Oct 2019 23:38:09 -0700 Subject: [PATCH] Replace sort.Sort with sort.Strings Fix staticcheck issue --- test/vndr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vndr_test.go b/test/vndr_test.go index ff486a1..2a631df 100644 --- a/test/vndr_test.go +++ b/test/vndr_test.go @@ -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",