cmd/callgraph: fix build

TBR=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/171640043
This commit is contained in:
Robert Griesemer 2014-11-12 16:49:47 -08:00
parent 932b62a02f
commit c2b324b9b4
1 changed files with 3 additions and 3 deletions

View File

@ -40,13 +40,13 @@ func TestCallgraph(t *testing.T) {
// tests: main is not called.
{"rta", format, true, []string{
`pkg.Example --> (pkg.C).f`,
`test$main.init --> pkg.init`,
`testmain.init --> pkg.init`,
}},
{"pta", format, true, []string{
`<root> --> pkg.Example`,
`<root> --> test$main.init`,
`<root> --> testmain.init`,
`pkg.Example --> (pkg.C).f`,
`test$main.init --> pkg.init`,
`testmain.init --> pkg.init`,
}},
} {
stdout = new(bytes.Buffer)