mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix test
Was supposed to be in the nm CL. TBR=r CC=golang-dev https://golang.org/cl/42870043
This commit is contained in:
parent
a8c54a8e9a
commit
a392cf4fd3
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ func TestRuntimeGogoBytes(t *testing.T) {
|
||||||
t.Fatalf("building hello world: %v\n%s", err, out)
|
t.Fatalf("building hello world: %v\n%s", err, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
out, err = exec.Command("go", "tool", "nm", "-S", dir+"/hello").CombinedOutput()
|
out, err = exec.Command("go", "tool", "nm", "-size", dir+"/hello").CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("go tool nm: %v\n%s", err, out)
|
t.Fatalf("go tool nm: %v\n%s", err, out)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue