From: Cherry Zhang Date: Wed, 2 Jan 2019 21:16:49 +0000 (-0500) Subject: cmd/compile: fix format test X-Git-Tag: go1.12beta2~55 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=57879fea4605b616aeeea144cfd7d2d09c14226a;p=gostls13.git cmd/compile: fix format test CL 156019 adds some debug output, including printing ssa.relation as string. Update the map. Change-Id: I0299d2008d199da10d86e5b47a50385b3a314c68 Reviewed-on: https://go-review.googlesource.com/c/156020 Run-TryBot: Cherry Zhang Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/compile/fmtmap_test.go b/src/cmd/compile/fmtmap_test.go index 063445cc9d..81ba20ff0f 100644 --- a/src/cmd/compile/fmtmap_test.go +++ b/src/cmd/compile/fmtmap_test.go @@ -121,6 +121,7 @@ var knownFormats = map[string]string{ "cmd/compile/internal/ssa.rbrank %d": "", "cmd/compile/internal/ssa.regMask %d": "", "cmd/compile/internal/ssa.register %d": "", + "cmd/compile/internal/ssa.relation %s": "", "cmd/compile/internal/syntax.Error %q": "", "cmd/compile/internal/syntax.Expr %#v": "", "cmd/compile/internal/syntax.Node %T": "",