func (v *Assert) Pointer(value interface{}) *PointerSubject { return &PointerSubject{ Subject: Subject{ a: v, disp: serial.ToString(value), }, value: value, } }
func (v ErrorBuilder) Message(msg ...interface{}) error { if v.error == nil { return nil } return &Error{ message: serial.ToString(msg) + " > " + v.error.Error(), inner: v.error, } }
func (subject *PointerSubject) Equals(expectation interface{}) { if subject.value != expectation { subject.Fail("is equal to", serial.ToString(expectation)) } }
func (v *AccessLog) String() string { return strings.Join([]string{serial.ToString(v.From), v.Status, serial.ToString(v.To), serial.ToString(v.Reason)}, " ") }