mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
2750f95291
commit
951cf0501b
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
t.Logf("text trace too large to dump (%d bytes)", len(s))
|
||||||
} else {
|
} else {
|
||||||
t.Log(s)
|
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 {
|
} else {
|
||||||
// We asked to dump the trace or failed. Write the trace to a file.
|
// We asked to dump the trace or failed. Write the trace to a file.
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ func TestConvertDump(t *testing.T) {
|
||||||
t.Skip("Set -convert to convert a trace text file")
|
t.Skip("Set -convert to convert a trace text file")
|
||||||
}
|
}
|
||||||
if *output == "" {
|
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 {
|
if err := convertDump(*convert, *output); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue