diff options
Diffstat (limited to 'src/pkg/template/template_test.go')
-rw-r--r-- | src/pkg/template/template_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/template/template_test.go b/src/pkg/template/template_test.go index b17afd26e..23e21e013 100644 --- a/src/pkg/template/template_test.go +++ b/src/pkg/template/template_test.go @@ -59,9 +59,7 @@ func plus1(v interface{}) string { } func writer(f func(interface{}) string) (func(io.Writer, interface{}, string)) { - return func(w io.Writer, v interface{}, format string) { - io.WriteString(w, f(v)); - }; + return func(w io.Writer, v interface{}, format string) { io.WriteString(w, f(v)) }; } |