1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:11:22 -07:00

cmd/compile: regenerate known formats for TestFormats

The formatting verb '%#x' was used for uint32 values in CL 132956.
This fixes TestFormats.

Change-Id: I3ab6519bde2cb74410fdca14829689cb46bf7022
Reviewed-on: https://go-review.googlesource.com/133595
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
Michael Munday 2018-09-05 20:05:37 +01:00
parent 3c1b7bc721
commit 2524ed1994

View File

@ -705,32 +705,33 @@ var knownFormats = map[string]string{
"interface{} %v": "", "interface{} %v": "",
"map[*cmd/compile/internal/gc.Node]*cmd/compile/internal/ssa.Value %v": "", "map[*cmd/compile/internal/gc.Node]*cmd/compile/internal/ssa.Value %v": "",
"map[cmd/compile/internal/ssa.ID]uint32 %v": "", "map[cmd/compile/internal/ssa.ID]uint32 %v": "",
"reflect.Type %s": "", "reflect.Type %s": "",
"rune %#U": "", "rune %#U": "",
"rune %c": "", "rune %c": "",
"string %-*s": "", "string %-*s": "",
"string %-16s": "", "string %-16s": "",
"string %-6s": "", "string %-6s": "",
"string %.*s": "", "string %.*s": "",
"string %q": "", "string %q": "",
"string %s": "", "string %s": "",
"string %v": "", "string %v": "",
"time.Duration %d": "", "time.Duration %d": "",
"time.Duration %v": "", "time.Duration %v": "",
"uint %04x": "", "uint %04x": "",
"uint %5d": "", "uint %5d": "",
"uint %d": "", "uint %d": "",
"uint %x": "", "uint %x": "",
"uint16 %d": "", "uint16 %d": "",
"uint16 %v": "", "uint16 %v": "",
"uint16 %x": "", "uint16 %x": "",
"uint32 %d": "", "uint32 %#x": "",
"uint32 %v": "", "uint32 %d": "",
"uint32 %x": "", "uint32 %v": "",
"uint64 %08x": "", "uint32 %x": "",
"uint64 %d": "", "uint64 %08x": "",
"uint64 %x": "", "uint64 %d": "",
"uint8 %d": "", "uint64 %x": "",
"uint8 %x": "", "uint8 %d": "",
"uintptr %d": "", "uint8 %x": "",
"uintptr %d": "",
} }