Darien Raymond před 9 roky
rodič
revize
7665dbff34
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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))
 	}
 }