mirror of
https://github.com/golang/go
synced 2024-11-23 15:00:03 -07:00
runtime/trace: fix file name in example
The preceding paragraph suggests the test run will produce a file called trace.out. The same name, trace.out, is used in the output from go help testflag, thus we change the go test line instead of changing the preceding paragraph.
This commit is contained in:
parent
af09ff1981
commit
3535e62bf8
@ -19,7 +19,7 @@
|
|||||||
// command runs the test in the current directory and writes the trace
|
// command runs the test in the current directory and writes the trace
|
||||||
// file (trace.out).
|
// file (trace.out).
|
||||||
//
|
//
|
||||||
// go test -trace=test.out
|
// go test -trace=trace.out
|
||||||
//
|
//
|
||||||
// This runtime/trace package provides APIs to add equivalent tracing
|
// This runtime/trace package provides APIs to add equivalent tracing
|
||||||
// support to a standalone program. See the Example that demonstrates
|
// support to a standalone program. See the Example that demonstrates
|
||||||
|
Loading…
Reference in New Issue
Block a user