]> Cypherpunks repositories - gostls13.git/commitdiff
internal/trace/testtrace: fix flag name typos
authorMichael Pratt <mpratt@google.com>
Mon, 10 Nov 2025 21:19:36 +0000 (16:19 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 11 Nov 2025 20:50:08 +0000 (12:50 -0800)
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>

src/internal/trace/testtrace/helpers.go
src/internal/trace/testtrace/helpers_test.go

index ef676a9a143e61b12fce607cbe8ddc21fed62872..c4c404a304b25aa44a31ce818e5707f302cdf3ba 100644 (file)
@@ -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.
index 3b874ac63171ffb96f70b3ebc6dd14b4ecbeb9fe..526f8d6a8baab780d9c8e9cf845a3272bd5ba9e7 100644 (file)
@@ -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 {