mirror of https://github.com/stretchr/testify.git
Print missing FAIL during AssertExpectation
parent
87b1dfb5b2
commit
5f831d47b7
|
@ -410,6 +410,7 @@ func (m *Mock) AssertExpectations(t TestingT) bool {
|
|||
if expectedCall.Repeatability > 0 {
|
||||
somethingMissing = true
|
||||
failedExpectations++
|
||||
t.Logf("FAIL:\t%s(%s)", expectedCall.Method, expectedCall.Arguments.String())
|
||||
} else {
|
||||
t.Logf("PASS:\t%s(%s)", expectedCall.Method, expectedCall.Arguments.String())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue