From 693727787e96104b48c806e0242c9a6367a4a9c3 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 12 Dec 2013 12:12:32 -0800 Subject: [PATCH] go.tools/go/types/typemap: fix formatting verb (%p is trouble if the interface value is not a pointer) R=adonovan CC=golang-dev https://golang.org/cl/41440043 --- go/types/typemap/typemap_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/types/typemap/typemap_test.go b/go/types/typemap/typemap_test.go index 9230af7fb4..70fcd48eea 100644 --- a/go/types/typemap/typemap_test.go +++ b/go/types/typemap/typemap_test.go @@ -27,7 +27,7 @@ func checkEqualButNotIdentical(t *testing.T, x, y types.Type, comment string) { t.Errorf("%s: not equal: %s, %s", comment, x, y) } if x == y { - t.Errorf("%s: identical: %p, %p", comment, x, y) + t.Errorf("%s: identical: %v, %v", comment, x, y) } }