1
0
mirror of https://github.com/golang/go synced 2024-11-05 18:26:10 -07:00

cmd/compile: fix fmt test

CL 196781 added map[int64]uint32 to the set of things printed with %v.

Fixes #34907

Change-Id: If4a13e86cfb4b691988f5fb70449ae23760f5789
Reviewed-on: https://go-review.googlesource.com/c/go/+/201079
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Keith Randall 2019-10-14 16:34:28 -07:00 committed by Keith Randall
parent a04aa1f6d1
commit c2c2ba280c

View File

@ -171,36 +171,37 @@ var knownFormats = map[string]string{
"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/gc.Node][]*cmd/compile/internal/gc.Node %v": "", "map[*cmd/compile/internal/gc.Node][]*cmd/compile/internal/gc.Node %v": "",
"map[cmd/compile/internal/ssa.ID]uint32 %v": "", "map[cmd/compile/internal/ssa.ID]uint32 %v": "",
"math/big.Accuracy %s": "", "map[int64]uint32 %v": "",
"reflect.Type %s": "", "math/big.Accuracy %s": "",
"rune %#U": "", "reflect.Type %s": "",
"rune %c": "", "rune %#U": "",
"rune %q": "", "rune %c": "",
"string %-*s": "", "rune %q": "",
"string %-16s": "", "string %-*s": "",
"string %-6s": "", "string %-16s": "",
"string %q": "", "string %-6s": "",
"string %s": "", "string %q": "",
"string %v": "", "string %s": "",
"time.Duration %d": "", "string %v": "",
"time.Duration %v": "", "time.Duration %d": "",
"uint %04x": "", "time.Duration %v": "",
"uint %5d": "", "uint %04x": "",
"uint %d": "", "uint %5d": "",
"uint %x": "", "uint %d": "",
"uint16 %d": "", "uint %x": "",
"uint16 %x": "", "uint16 %d": "",
"uint32 %#U": "", "uint16 %x": "",
"uint32 %#x": "", "uint32 %#U": "",
"uint32 %d": "", "uint32 %#x": "",
"uint32 %v": "", "uint32 %d": "",
"uint32 %x": "", "uint32 %v": "",
"uint64 %08x": "", "uint32 %x": "",
"uint64 %b": "", "uint64 %08x": "",
"uint64 %d": "", "uint64 %b": "",
"uint64 %x": "", "uint64 %d": "",
"uint8 %d": "", "uint64 %x": "",
"uint8 %v": "", "uint8 %d": "",
"uint8 %x": "", "uint8 %v": "",
"uintptr %d": "", "uint8 %x": "",
"uintptr %d": "",
} }