Skip to content

Commit 951cf05

Browse files
prattmicgopherbot
authored andcommitted
internal/trace/testtrace: fix flag name typos
Change-Id: I6a6a636cd82a3e22a482ea2b2ab1004c45e2c304 Reviewed-on: https://go-review.googlesource.com/c/go/+/719400 Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 2750f95 commit 951cf05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/internal/trace/testtrace/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func Dump(t *testing.T, testName string, traceBytes []byte, forceToFile bool) {
3737
t.Logf("text trace too large to dump (%d bytes)", len(s))
3838
} else {
3939
t.Log(s)
40-
t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -covert in.tracetxt -out out.trace`")
40+
t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -convert in.tracetxt -out out.trace`")
4141
}
4242
} else {
4343
// We asked to dump the trace or failed. Write the trace to a file.

src/internal/trace/testtrace/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestConvertDump(t *testing.T) {
3232
t.Skip("Set -convert to convert a trace text file")
3333
}
3434
if *output == "" {
35-
t.Fatal("Set -o to specify conversion output")
35+
t.Fatal("Set -out to specify conversion output")
3636
}
3737

3838
if err := convertDump(*convert, *output); err != nil {

0 commit comments

Comments
 (0)