diff options
author | Alan Donovan <adonovan@google.com> | 2015-02-09 10:45:08 -0500 |
---|---|---|
committer | Alan Donovan <adonovan@google.com> | 2015-02-09 17:53:43 +0000 |
commit | 159ae4d1631985184b8557168a1a5a6172c62a27 (patch) | |
tree | 132abc7ecfa23e33acf122aa3ff954b73f8392f1 | |
parent | fa3649f71fdbcee9cbc3fc4b8b820803c92b607e (diff) | |
download | tools-159ae4d1631985184b8557168a1a5a6172c62a27.tar.gz |
cmd/callgraph: fix careless quoting bug
Change-Id: I809a2ea711bb1a516dfcf8abf5e4d26061b4daf0
Reviewed-on: https://go-review.googlesource.com/4230
Reviewed-by: Sameer Ajmani <sameer@golang.org>
-rw-r--r-- | cmd/callgraph/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/callgraph/main.go b/cmd/callgraph/main.go index 43ac7b4..17ee462 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) |