aboutsummaryrefslogtreecommitdiff
path: root/src/internal/trace
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2025-11-10 16:19:36 -0500
committerGopher Robot <gobot@golang.org>2025-11-11 12:50:08 -0800
commit951cf0501b57d31e648f2808820f2c7eaca3edc8 (patch)
tree608789540276d19908046f1f41be51e6b912d463 /src/internal/trace
parent2750f9529148d21c5e29cb325acccc6240e813cf (diff)
downloadgo-951cf0501b57d31e648f2808820f2c7eaca3edc8.tar.xz
internal/trace/testtrace: fix flag name typos
Change-Id: I6a6a636cd82a3e22a482ea2b2ab1004c45e2c304 Reviewed-on: https://go-review.googlesource.com/c/go/+/719400 Auto-Submit: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/internal/trace')
-rw-r--r--src/internal/trace/testtrace/helpers.go2
-rw-r--r--src/internal/trace/testtrace/helpers_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/trace/testtrace/helpers.go b/src/internal/trace/testtrace/helpers.go
index ef676a9a14..c4c404a304 100644
--- a/src/internal/trace/testtrace/helpers.go
+++ b/src/internal/trace/testtrace/helpers.go
@@ -37,7 +37,7 @@ func Dump(t *testing.T, testName string, traceBytes []byte, forceToFile bool) {
t.Logf("text trace too large to dump (%d bytes)", len(s))
} else {
t.Log(s)
- t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -covert in.tracetxt -out out.trace`")
+ t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -convert in.tracetxt -out out.trace`")
}
} else {
// We asked to dump the trace or failed. Write the trace to a file.
diff --git a/src/internal/trace/testtrace/helpers_test.go b/src/internal/trace/testtrace/helpers_test.go
index 3b874ac631..526f8d6a8b 100644
--- a/src/internal/trace/testtrace/helpers_test.go
+++ b/src/internal/trace/testtrace/helpers_test.go
@@ -32,7 +32,7 @@ func TestConvertDump(t *testing.T) {
t.Skip("Set -convert to convert a trace text file")
}
if *output == "" {
- t.Fatal("Set -o to specify conversion output")
+ t.Fatal("Set -out to specify conversion output")
}
if err := convertDump(*convert, *output); err != nil {