diff --git a/src/go/printer/printer_test.go b/src/go/printer/printer_test.go index 4d5d3eabedc..2a9c8be3003 100644 --- a/src/go/printer/printer_test.go +++ b/src/go/printer/printer_test.go @@ -125,7 +125,7 @@ func runcheck(t *testing.T, source, golden string, mode checkMode) { } // formatted source and golden must be the same - if err := checkEqual(source, golden, res, gld); err != nil { + if err := checkEqual(fmt.Sprintf("format(%v)", source), golden, res, gld); err != nil { t.Error(err) return }