perfmon: Use backticks for analysis table
Using whitespace for code blocks no longer works with gerrit Change-Id: I614aff78297ab96a3663888d59c10d8ad295c076 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96280 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
f19cb029b8
commit
8f488524b8
|
@ -988,13 +988,15 @@ func (e env) benchmarkGerritChange(change gerrit.ChangeInfo) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
msg := &strings.Builder{}
|
msg := &strings.Builder{}
|
||||||
fmt.Fprintf(msg, "Perfmon analysis:\n")
|
fmt.Fprintln(msg, "Perfmon analysis:")
|
||||||
fmt.Fprintf(msg, " \n")
|
fmt.Fprintln(msg)
|
||||||
fmt.Fprintf(msg, " A: parent change (%v) -> B: patchset %v\n", parent[:7], current.Number)
|
fmt.Fprintln(msg, "```")
|
||||||
fmt.Fprintf(msg, " \n")
|
fmt.Fprintf(msg, "A: parent change (%v) -> B: patchset %v\n", parent[:7], current.Number)
|
||||||
|
fmt.Fprintln(msg)
|
||||||
for _, line := range strings.Split(diff.Format(diffFmt), "\n") {
|
for _, line := range strings.Split(diff.Format(diffFmt), "\n") {
|
||||||
fmt.Fprintf(msg, " %v\n", line)
|
fmt.Fprintf(msg, " %v\n", line)
|
||||||
}
|
}
|
||||||
|
fmt.Fprintln(msg, "```")
|
||||||
|
|
||||||
notify := "OWNER"
|
notify := "OWNER"
|
||||||
if len(diff) > 0 {
|
if len(diff) > 0 {
|
||||||
|
|
Loading…
Reference in New Issue