From 95499a27ea56797ea3993981cd9cef3451f11a41 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Oct 2009 22:19:22 -0700 Subject: [PATCH] Fix printer_test.go to invoke Fprint as a method of cfg. This matches the change to printer.go in revision 3632. R=gri http://go/go-review/1015001 --- src/pkg/go/printer/printer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/go/printer/printer_test.go b/src/pkg/go/printer/printer_test.go index 8f1080a759..1941f86ef9 100644 --- a/src/pkg/go/printer/printer_test.go +++ b/src/pkg/go/printer/printer_test.go @@ -62,7 +62,7 @@ func check(t *testing.T, source, golden string, mode checkMode) { // format source var buf bytes.Buffer; - if _, err := Fprint(&buf, prog, &cfg); err != nil { + if _, err := cfg.Fprint(&buf, prog); err != nil { t.Error(err); } res := buf.Bytes();