Darien Raymond преди 9 години
родител
ревизия
7665dbff34
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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))
 	}
 }