diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2020-06-19 15:31:25 +0000 |
|---|---|---|
| committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | 2020-06-19 16:14:19 +0000 |
| commit | b424a312ea9d970b4ee7e535a092b7f183c53ae5 (patch) | |
| tree | 78adab40a5f7f29a68143526907a73fc2f3b69f9 /src/runtime/trace | |
| parent | af09ff1981063b28705726a86b913dfa98d70942 (diff) | |
| download | go-b424a312ea9d970b4ee7e535a092b7f183c53ae5.tar.xz | |
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.
Change-Id: Ib1fa7e49e540853e263a2399b16040ea6f41b703
GitHub-Last-Rev: 3535e62bf8dd02dd9955a28e7fa9cca98de89efd
GitHub-Pull-Request: golang/go#39709
Reviewed-on: https://go-review.googlesource.com/c/go/+/238997
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'src/runtime/trace')
| -rw-r--r-- | src/runtime/trace/trace.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/trace/trace.go b/src/runtime/trace/trace.go index 7f9d72a846..b34aef03c5 100644 --- a/src/runtime/trace/trace.go +++ b/src/runtime/trace/trace.go @@ -19,7 +19,7 @@ // command runs the test in the current directory and writes the trace // file (trace.out). // -// go test -trace=test.out +// go test -trace=trace.out // // This runtime/trace package provides APIs to add equivalent tracing // support to a standalone program. See the Example that demonstrates |
