From 159ae4d1631985184b8557168a1a5a6172c62a27 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 9 Feb 2015 10:45:08 -0500 Subject: [PATCH] cmd/callgraph: fix careless quoting bug Change-Id: I809a2ea711bb1a516dfcf8abf5e4d26061b4daf0 Reviewed-on: https://go-review.googlesource.com/4230 Reviewed-by: Sameer Ajmani --- cmd/callgraph/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/callgraph/main.go b/cmd/callgraph/main.go index 43ac7b4300..17ee462e95 100644 --- a/cmd/callgraph/main.go +++ b/cmd/callgraph/main.go @@ -237,7 +237,7 @@ func doCallgraph(ctxt *build.Context, algo, format string, tests bool, args []st case "graphviz": before = "digraph callgraph {\n" after = "}\n" - format = ` {{printf "%q" .Caller}} -> {{printf "%q" .Callee}}"` + format = ` {{printf "%q" .Caller}} -> {{printf "%q" .Callee}}` } tmpl, err := template.New("-format").Parse(format)