mirror of
https://github.com/golang/go
synced 2024-11-18 22:44:48 -07:00
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
This commit is contained in:
parent
036b7d3489
commit
693727787e
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user