Skip to content

Commit cd24849

Browse files
committed
cmd/compile: fix fmt_test.go after CL 170062
Updates #22326. Change-Id: Ia9173b6eb29b2a4f90f4ba39bf53b6e9b7a6d6bf Reviewed-on: https://go-review.googlesource.com/c/go/+/179398 Run-TryBot: Matthew Dempsky <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 913d290 commit cd24849

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

src/cmd/compile/fmtmap_test.go

+33-32
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ var knownFormats = map[string]string{
6565
"*math/big.Int %s": "",
6666
"*math/big.Int %v": "",
6767
"[16]byte %x": "",
68-
"[]*cmd/compile/internal/gc.Node %v": "",
6968
"[]*cmd/compile/internal/ssa.Block %v": "",
7069
"[]*cmd/compile/internal/ssa.Value %v": "",
7170
"[][]string %q": "",
@@ -172,36 +171,38 @@ var knownFormats = map[string]string{
172171
"interface{} %s": "",
173172
"interface{} %v": "",
174173
"map[*cmd/compile/internal/gc.Node]*cmd/compile/internal/ssa.Value %v": "",
174+
"map[*cmd/compile/internal/gc.Node][]*cmd/compile/internal/gc.Node %v": "",
175175
"map[cmd/compile/internal/ssa.ID]uint32 %v": "",
176-
"math/big.Accuracy %s": "",
177-
"reflect.Type %s": "",
178-
"rune %#U": "",
179-
"rune %c": "",
180-
"rune %q": "",
181-
"string %-*s": "",
182-
"string %-16s": "",
183-
"string %-6s": "",
184-
"string %.*s": "",
185-
"string %q": "",
186-
"string %s": "",
187-
"string %v": "",
188-
"time.Duration %d": "",
189-
"time.Duration %v": "",
190-
"uint %04x": "",
191-
"uint %5d": "",
192-
"uint %d": "",
193-
"uint %x": "",
194-
"uint16 %d": "",
195-
"uint16 %v": "",
196-
"uint16 %x": "",
197-
"uint32 %#x": "",
198-
"uint32 %d": "",
199-
"uint32 %v": "",
200-
"uint32 %x": "",
201-
"uint64 %08x": "",
202-
"uint64 %d": "",
203-
"uint64 %x": "",
204-
"uint8 %d": "",
205-
"uint8 %x": "",
206-
"uintptr %d": "",
176+
"math/big.Accuracy %s": "",
177+
"reflect.Type %s": "",
178+
"rune %#U": "",
179+
"rune %c": "",
180+
"rune %q": "",
181+
"string %-*s": "",
182+
"string %-16s": "",
183+
"string %-6s": "",
184+
"string %.*s": "",
185+
"string %q": "",
186+
"string %s": "",
187+
"string %v": "",
188+
"time.Duration %d": "",
189+
"time.Duration %v": "",
190+
"uint %04x": "",
191+
"uint %5d": "",
192+
"uint %d": "",
193+
"uint %x": "",
194+
"uint16 %d": "",
195+
"uint16 %v": "",
196+
"uint16 %x": "",
197+
"uint32 %#x": "",
198+
"uint32 %d": "",
199+
"uint32 %v": "",
200+
"uint32 %x": "",
201+
"uint64 %08x": "",
202+
"uint64 %d": "",
203+
"uint64 %x": "",
204+
"uint8 %d": "",
205+
"uint8 %v": "",
206+
"uint8 %x": "",
207+
"uintptr %d": "",
207208
}

0 commit comments

Comments
 (0)