Forráskód Böngészése

Remove an unused argument of utility test func (#139)

Found this by https://github.com/mvdan/unparam
haya14busa 8 éve
szülő
commit
f15c970de5
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      format_test.go

+ 1 - 1
format_test.go

@@ -491,7 +491,7 @@ type wrapper struct {
 	want []string
 }
 
-func prettyBlocks(blocks []string, prefix ...string) string {
+func prettyBlocks(blocks []string) string {
 	var out []string
 
 	for _, b := range blocks {