cmd/callgraph: fix build
TBR=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/171640043
This commit is contained in:
parent
932b62a02f
commit
c2b324b9b4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue