diff --git a/testing/assert/pointer.go b/testing/assert/pointer.go index 1b3013a22..9bf8ef991 100644 --- a/testing/assert/pointer.go +++ b/testing/assert/pointer.go @@ -23,7 +23,7 @@ type PointerSubject struct { func (subject *PointerSubject) Equals(expectation interface{}) { if subject.value != expectation { - subject.Fail("is equal to", serial.PointerToString(expectation)) + subject.Fail("is equal to", serial.ToString(expectation)) } }