Ver Fonte

fix build break

Darien Raymond há 9 anos atrás
pai
commit
7665dbff34
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      testing/assert/pointer.go

+ 1 - 1
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))
 	}
 }