Commit 95499a27 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 8f52a821
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment