Переглянути джерело

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

Found this by https://github.com/mvdan/unparam
haya14busa 8 роки тому
батько
коміт
f15c970de5
1 змінених файлів з 1 додано та 1 видалено
  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 {