From 3535e62bf8dd02dd9955a28e7fa9cca98de89efd Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 19 Jun 2020 17:14:00 +0200 Subject: [PATCH] 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. --- src/runtime/trace/trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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