فهرست منبع

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 {